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

forget() public method

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

Usage Example

 public function testForget()
 {
     $session = new FuelPHPSession($store = m::mock('Fuel\\Core\\Session_Driver'), 'foo');
     $store->shouldReceive('delete')->with('foo')->once();
     $session->forget();
 }