phpbb\console\command\reparser\reparse::get_option PHP Method

get_option() protected method

Will use the last saved value if --resume is set and the option was not specified on the command line
protected get_option ( string $option_name ) : integer
$option_name string Option name
return integer
    protected function get_option($option_name)
    {
        // Return the option from the resume_data if applicable
        if ($this->input->getOption('resume') && isset($this->resume_data[$option_name]) && !$this->input->hasParameterOption('--' . $option_name)) {
            return $this->resume_data[$option_name];
        }
        return $this->input->getOption($option_name);
    }