Nette\Http\SessionSection::__get PHP Метод

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

Gets a variable from this session section.
public __get ( $name ) : mixed
Результат mixed
    public function &__get($name)
    {
        $this->start();
        if ($this->warnOnUndefined && !array_key_exists($name, $this->data)) {
            trigger_error("The variable '{$name}' does not exist in session section");
        }
        return $this->data[$name];
    }