Method | Description | |
---|---|---|
__construct ( PhpSpec\CodeGenerator\Generator\Generator $generator, Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, |
||
generate ( PhpSpec\Locator\Resource $resource, array $data ) | ||
getPriority ( ) : integer | ||
supports ( PhpSpec\Locator\Resource $resource, string $generation, array $data ) : boolean |
Method | Description | |
---|---|---|
dispatchEventIfFileWasCreated ( boolean $fileExisted, string $filePath ) | ||
fileExists ( string $filePath ) : boolean | ||
getFilePath ( PhpSpec\Locator\Resource $resource ) : string |
public __construct ( PhpSpec\CodeGenerator\Generator\Generator $generator, Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, |
||
$generator | PhpSpec\CodeGenerator\Generator\Generator | |
$dispatcher | Symfony\Component\EventDispatcher\EventDispatcherInterface | |
$filesystem |