Jarves\Command\AbstractCommand::configure PHP Метод

configure() защищенный Метод

protected configure ( )
    protected function configure()
    {
    }

Usage Example

Пример #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.
');
    }
All Usage Examples Of Jarves\Command\AbstractCommand::configure
AbstractCommand