N98\Magento\Command\LocalConfig\GenerateCommand::configure PHP Метод

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

protected configure ( )
    protected function configure()
    {
        $this->setName('local-config:generate')->setDescription('Generates local.xml config')->addArgument('db-host', InputArgument::OPTIONAL, 'Database host')->addArgument('db-user', InputArgument::OPTIONAL, 'Database user')->addArgument('db-pass', InputArgument::OPTIONAL, 'Database password')->addArgument('db-name', InputArgument::OPTIONAL, 'Database name')->addArgument('session-save', InputArgument::OPTIONAL, 'Session storage adapter')->addArgument('admin-frontname', InputArgument::OPTIONAL, 'Admin front name')->addArgument('encryption-key', InputArgument::OPTIONAL, 'Encryption Key');
        $help = <<<HELP
Generates the app/etc/local.xml.

- The file "app/etc/local.xml.template" (bundles with Magento) must exist!
- Currently the command does not validate anything you enter.
- The command will not overwrite existing app/etc/local.xml files.
HELP;
        $this->setHelp($help);
    }