Method | Description | |
---|---|---|
addGenerator ( string $name, Yosymfony\Spress\Core\ContentManager\Generator\GeneratorInterface $generator ) | Adds a new generator. | |
clearGenerator ( ) | Clears all generators registered. | |
countGenerator ( ) : integer | Counts the generators registered. | |
getGenerator ( string $name ) : Yosymfony\Spress\Core\ContentManager\Generator\GeneratorInterface | Gets a generator. | |
hasGenerator ( string $name ) : boolean | Checks if a generator exists. | |
removeGenerator ( string $name ) | Removes a generator. | |
setGenerator ( string $name, Yosymfony\Spress\Core\ContentManager\Generator\GeneratorInterface $generator ) | Sets a generator. |
public addGenerator ( string $name, Yosymfony\Spress\Core\ContentManager\Generator\GeneratorInterface $generator ) | ||
$name | string | The generator name |
$generator | Yosymfony\Spress\Core\ContentManager\Generator\GeneratorInterface |
public countGenerator ( ) : integer | ||
return | integer |
public getGenerator ( string $name ) : Yosymfony\Spress\Core\ContentManager\Generator\GeneratorInterface | ||
$name | string | The generator name |
return | Yosymfony\Spress\Core\ContentManager\Generator\GeneratorInterface |
public hasGenerator ( string $name ) : boolean | ||
$name | string | The generator name |
return | boolean |
public removeGenerator ( string $name ) | ||
$name | string | The generator name |
public setGenerator ( string $name, Yosymfony\Spress\Core\ContentManager\Generator\GeneratorInterface $generator ) | ||
$name | string | The generator name |
$generator | Yosymfony\Spress\Core\ContentManager\Generator\GeneratorInterface |