Ouzo\Session::flush PHP Method

flush() public static method

public static flush ( )
    public static function flush()
    {
        return self::create()->flush();
    }

Usage Example

Beispiel #1
0
 /**
  * @test
  */
 public function shouldFlushIfSessionIsEmpty()
 {
     //when
     Session::flush();
     //then
     Assert::thatSession()->isEmpty();
 }