Nette\Http\SessionSection::offsetSet PHP Method

offsetSet() public method

Sets a variable in this session section.
public offsetSet ( $name, $value ) : void
return void
    public function offsetSet($name, $value)
    {
        $this->__set($name, $value);
    }

Usage Example

Ejemplo n.º 1
0
 /**
  * @param  string
  * @param  mixed
  * @return self
  */
 public function set($name, $value)
 {
     $this->session->offsetSet($name, $value);
     return $this;
 }