protected function getApplication($input = '') { $application = new Application(); $command = new GenerateControllerCommand(); $command->setContainer($this->getContainer()); $command->setHelperSet($this->getHelperSet($input)); $command->setGenerator($this->getGenerator()); $application->add($command); return $application; }
/** * @see Command */ public function configure() { parent::configure(); $this->setAliases(array('app:generate:controller')); }