configure() 보호된 메소드

protected configure ( )
예제 #1
0
    /**
     * {@inheritdoc}
     */
    protected function configure()
    {
        parent::configure();
        $this->setName('jarves:configuration:travis')->setDescription('Builds the database configuration for travis ci.')->addArgument('type', InputArgument::REQUIRED, 'database type: mysql|pgsql|sqlite')->addArgument('database-name', InputArgument::REQUIRED, 'database name')->addArgument('username', InputArgument::OPTIONAL, 'database login username')->addOption('pw', null, InputOption::VALUE_OPTIONAL)->addOption('server', null, InputOption::VALUE_OPTIONAL, 'hostname or ip. for SQLITE the path')->addOption('port', null, InputOption::VALUE_OPTIONAL)->setHelp('
You can set with this command configuration values inside the app/config/config.jarves.xml file.
');
    }
예제 #2
0
 /**
  * {@inheritdoc}
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('jarves:entrypoints')->setDescription('Shows all available entry points.');
 }
예제 #3
0
 /**
  * {@inheritdoc}
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('jarves:install:demo')->setDescription('Installs demo data.')->addArgument('hostname', null, 'The hostname of the domain we should add. Example: 127.0.0.1')->addArgument('path', null, 'The path of the domain we should add. Example: /jarves-1.0/ or just /');
 }
예제 #4
0
 /**
  * {@inheritdoc}
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('jarves:content:export')->setDescription('Exports content from nodes and files as a package in app/jarves you can commit in git and import again.');
 }
예제 #5
0
 /**
  * {@inheritdoc}
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('jarves:convert-crud-to-yml')->addArgument('path', InputArgument::REQUIRED, 'file path')->setDescription('Converts a PHP class to a yml apiControllerDefinition');
 }
예제 #6
0
 /**
  * {@inheritdoc}
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('jarves:content:import')->addOption('watch', null, InputOption::VALUE_NONE, "Watches for file changes and reimports")->setDescription('Imports website data from the package in app/jarves');
 }
예제 #7
0
 /**
  * {@inheritdoc}
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('jarves:objects:export')->setDescription('Exports data from all objects or only one.')->addArgument('bundle', InputArgument::OPTIONAL, 'filter by bundle, short version name')->addArgument('object-key', InputArgument::OPTIONAL, 'filter by given object-key');
 }
예제 #8
0
 /**
  * {@inheritdoc}
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('jarves:frontend');
 }
예제 #9
0
 /**
  * {@inheritdoc}
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('jarves:objects')->setDescription('Shows all available objects.')->addArgument('object-key', InputArgument::OPTIONAL, 'filter by given object-key');
 }