lithium\console\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];
        }
    }