Pop\Web\Session::__set PHP Method

__set() public method

Set a property in the session object that is linked to the $_SESSION global variable.
public __set ( string $name, mixed $value ) : void
$name string
$value mixed
return void
    public function __set($name, $value)
    {
        $_SESSION[$name] = $value;
    }