[DoctrineBundle] added a few aliases
This commit is contained in:
parent
d84728e278
commit
2286452cc8
@ -30,6 +30,7 @@ class GenerateEntitiesDoctrineCommand extends DoctrineCommand
|
||||
{
|
||||
$this
|
||||
->setName('doctrine:generate:entities')
|
||||
->setAliases(array('generate:doctrine:entities'))
|
||||
->setDescription('Generate entity classes and method stubs from your mapping information')
|
||||
->addArgument('name', InputArgument::REQUIRED, 'A bundle name, a namespace, or a class name')
|
||||
->addOption('path', null, InputOption::VALUE_REQUIRED, 'The path where to generate entities when it cannot be guessed')
|
||||
|
@ -30,6 +30,7 @@ class GenerateEntityDoctrineCommand extends DoctrineCommand
|
||||
{
|
||||
$this
|
||||
->setName('doctrine:generate:entity')
|
||||
->setAliases(array('generate:doctrine:entity'))
|
||||
->setDescription('Generate a new Doctrine entity inside a bundle')
|
||||
->addArgument('entity', InputArgument::REQUIRED, 'The entity class name to initialize (shortcut notation)')
|
||||
->addArgument('fields', InputArgument::OPTIONAL, 'The fields to create with the new entity')
|
||||
|
Reference in New Issue
Block a user