protected function getCommand($generator, $input) { $command = new GenerateDoctrineEntityCommand(); $command->setContainer($this->getContainer()); $command->setHelperSet($this->getHelperSet($input)); $command->setGenerator($generator); return $command; }