Cecil

GeneratorManager extends SplPriorityQueue

GeneratorManager class.

This class manages the generators used in the Cecil build process. It extends \SplPriorityQueue to allow generators to be processed in order of priority. Generators can be added with a specific priority, and the process method will run each generator in order, collecting the pages they generate.

Table of Contents

Properties

$builder  : Builder

Methods

__construct()  : void
addGenerator()  : self
Adds a generator.
compare()  : int
{@inheritdoc}
process()  : Collection
Process each generator.

Properties

Methods

compare()

{@inheritdoc}

public compare(mixed $priority1, mixed $priority2) : int
Parameters
$priority1 : mixed
$priority2 : mixed
Return values
int
 
On this page

Search results