offsetSet() public method

Sets a variable in this session section.
public offsetSet ( $name, $value ) : void
return void
Example #1
0
 /**
  * @param  string
  * @param  mixed
  * @return self
  */
 public function set($name, $value)
 {
     $this->session->offsetSet($name, $value);
     return $this;
 }