1 2 3 4 5 6 7 8 9
| protected function configure()
{
$this
->setName('doctrine:generate:entities')
->setDescription('Generate entity classes and method stubs from your mapping information.')
->addArgument('bundle', InputArgument::REQUIRED, 'The bundle to initialize the entity or entities in.')
->addOption('entity', null, InputOption::VALUE_OPTIONAL, 'The entity class to initialize (shortname without namespace).')
->addOption('update-entities',null, InputOption::VALUE_OPTIONAL,'update')
->addOption('regenerate-entities',null, InputOption::VALUE_OPTIONAL,'regenerate') |