Newscoop\PluginGeneratorBundle\Command\GeneratorPluginCommand::setGenerator PHP Method

setGenerator() public method

only useful for unit tests
public setGenerator ( Sensio\Bundle\GeneratorBundle\Generator\Generator $generator )
$generator Sensio\Bundle\GeneratorBundle\Generator\Generator
    public function setGenerator(Generator $generator)
    {
        $this->generator = $generator;
    }