lithium\console\Request::__get PHP Method

__get() public method

Allows request parameters to be accessed as object properties, i.e. $this->request->action instead of $this->request->params['action'].
See also: lithium\action\Request::$params
public __get ( string $name ) : mixed
$name string The property name/parameter key to return.
return mixed Returns the value of `$params[$name]` if it is set, otherwise returns null.
    public function __get($name)
    {
        if (isset($this->params[$name])) {
            return $this->params[$name];
        }
    }