protected function configure()
 {
     $this->setName('cms:create-cs-widget');
     $this->addArgument('name', self::REQUIRED, 'name of widget in CamelCase');
     $this->addArgument('contexts', self::OPTIONAL | self::IS_ARRAY, 'where to show the widget in layoutManager values: sidebar-content|page-content');
     $this->addOption('section', '', self::VALUE_REQUIRED, 'section of widget in layoutManager (class-name)');
     $this->addOption('label', '', self::VALUE_REQUIRED, 'label for button control');
     $this->setDescription('Creates a new ContentStream Widget Template (and an Entity for that)');
     parent::configure();
 }
 protected function configure()
 {
     parent::configure();
     $this->setName('compile:test-entities')->setDescription('Erstellt alle Test Entities in Psc\\Doctrine\\TestEntities');
     $this->addOption('filter');
 }
Exemplo n.º 3
0
 protected function configure()
 {
     $this->setName('project:compile')->setDescription('ruft compile() für das Project auf')->setDefinition(array());
     parent::configure();
 }