Pop\Web\Session::__get PHP Method

__get() public method

Get method to return the value of the $_SESSION global variable.
public __get ( string $name ) : mixed
$name string
return mixed
    public function __get($name)
    {
        return isset($_SESSION[$name]) ? $_SESSION[$name] : null;
    }