configure() protected méthode

See also: Command
protected configure ( )
 /**
  * @see Command
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('bacon:generate:crud');
     $this->setDescription('Gerador personalizado pela A2C');
     $this->setDefinition(array(new InputArgument('entity', InputArgument::OPTIONAL, 'The entity class name to initialize (shortcut notation)'), new InputOption('entity', '', InputOption::VALUE_REQUIRED, 'The entity class name to initialize (shortcut notation)'), new InputOption('route-prefix', '', InputOption::VALUE_REQUIRED, 'The route prefix'), new InputOption('with-write', '', InputOption::VALUE_NONE, 'Whether or not to generate create, new and delete actions'), new InputOption('format', '', InputOption::VALUE_REQUIRED, 'The format used for configuration files (php, xml, yml, or annotation)', 'annotation'), new InputOption('overwrite', '', InputOption::VALUE_NONE, 'Overwrite any existing controller or form class when generating the CRUD contents'), new InputOption('controller-folder', '', InputArgument::OPTIONAL, 'The controller folder name')));
 }
 /**
  * @see Command
  */
 protected function configure()
 {
     parent::configure();
     $this->setAliases(array('oliorga:generate:crud'));
 }
 protected function configure()
 {
     parent::configure();
     $this->setName('jordillonch:generate:crud');
     $this->setDescription('A CRUD generator with paginating and filters.');
 }
Exemple #4
0
 protected function configure()
 {
     parent::configure();
     $this->setName('vaszev:generate:crud');
     $this->setDescription('Modified Symfony3 CRUD generator.');
 }
 protected function configure()
 {
     parent::configure();
     $this->setName('developathe:generate:crud');
 }
 /**
  * configure the command.
  *
  * @return void
  * @access protected
  * @author Etienne de Longeaux <*****@*****.**>
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('sfynx:generate:crud');
 }
 /**
  * @see Command
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('rmc:generate:crud');
     $this->setDescription('CRUD generator that supports entities outside a bundle for rmc');
 }
 protected function configure()
 {
     parent::configure();
 }
 protected function configure()
 {
     parent::configure();
     $this->setName('mwsimple:generate:admincrud');
     $this->setDescription('Generates a ADMINCRUD and paginator based on a Doctrine entity');
 }