Cartalyst\Sentinel\Sessions\IlluminateSession::forget PHP Method

forget() public method

{@inheritDoc}
public forget ( )
    public function forget()
    {
        $this->session->forget($this->key);
    }

Usage Example

 public function testForget()
 {
     $session = new IlluminateSession($store = m::mock('Illuminate\\Session\\Store'), 'foo');
     $store->shouldReceive('forget')->with('foo')->once();
     $session->forget();
 }