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; }