phpbb\console\command\reparser\reparse::configure PHP Méthode

configure() protected méthode

Sets the command name and description
protected configure ( ) : null
Résultat null
    protected function configure()
    {
        $this->setName('reparser:reparse')->setDescription($this->user->lang('CLI_DESCRIPTION_REPARSER_REPARSE'))->addArgument('reparser-name', InputArgument::OPTIONAL, $this->user->lang('CLI_DESCRIPTION_REPARSER_REPARSE_ARG_1'))->addOption('dry-run', null, InputOption::VALUE_NONE, $this->user->lang('CLI_DESCRIPTION_REPARSER_REPARSE_OPT_DRY_RUN'))->addOption('resume', null, InputOption::VALUE_NONE, $this->user->lang('CLI_DESCRIPTION_REPARSER_REPARSE_OPT_RESUME'))->addOption('range-min', null, InputOption::VALUE_REQUIRED, $this->user->lang('CLI_DESCRIPTION_REPARSER_REPARSE_OPT_RANGE_MIN'), 1)->addOption('range-max', null, InputOption::VALUE_REQUIRED, $this->user->lang('CLI_DESCRIPTION_REPARSER_REPARSE_OPT_RANGE_MAX'))->addOption('range-size', null, InputOption::VALUE_REQUIRED, $this->user->lang('CLI_DESCRIPTION_REPARSER_REPARSE_OPT_RANGE_SIZE'), 100);
    }