Nette\Http\SessionSection::offsetUnset PHP Method

offsetUnset() public method

Unsets a variable in this session section.
public offsetUnset ( $name ) : void
return void
    public function offsetUnset($name)
    {
        $this->__unset($name);
    }

Usage Example

Example #1
0
 /**
  * @param  string
  * @return self
  */
 public function remove($name)
 {
     $this->session->offsetUnset($name);
     return $this;
 }