lithium\action\Request::__get PHP Метод

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

Allows request parameters to be accessed as object properties, i.e. $this->request->action instead of $this->request->params['action'].
См. также: lithium\action\Request::$params
public __get ( string $name ) : mixed
$name string The property name/parameter key to 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];
        }
    }