Méthode | 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 | ||
Résultat | integer |
public getGenerator ( string $name ) : Yosymfony\Spress\Core\ContentManager\Generator\GeneratorInterface | ||
$name | string | The generator name |
Résultat | Yosymfony\Spress\Core\ContentManager\Generator\GeneratorInterface |
public hasGenerator ( string $name ) : boolean | ||
$name | string | The generator name |
Résultat | 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 |