메소드 | 설명 | |
---|---|---|
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 | ||
리턴 | integer |
public getGenerator ( string $name ) : Yosymfony\Spress\Core\ContentManager\Generator\GeneratorInterface | ||
$name | string | The generator name |
리턴 | Yosymfony\Spress\Core\ContentManager\Generator\GeneratorInterface |
public hasGenerator ( string $name ) : boolean | ||
$name | string | The generator name |
리턴 | 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 |