yii\console\Controller::getOptionValues PHP Метод

getOptionValues() публичный Метод

Returns properties corresponding to the options for the action id Child classes may override this method to specify possible properties.
public getOptionValues ( string $actionID ) : array
$actionID string the action id of the current request
Результат array properties corresponding to the options for the action
    public function getOptionValues($actionID)
    {
        // $actionId might be used in subclasses to provide properties specific to action id
        $properties = [];
        foreach ($this->options($this->action->id) as $property) {
            $properties[$property] = $this->{$property};
        }
        return $properties;
    }