Ouzo\SessionObject::set PHP Method

set() public method

public set ( )
    public function set()
    {
        if (!isset($_SESSION)) {
            return null;
        }
        list($keys, $value) = $this->getKeyAndValueArguments(func_get_args());
        Arrays::setNestedValue($_SESSION, $keys, $value);
        return $this;
    }