/** * Delete *ALL* user authorization states. Use with care. Most of the time you will likely * want to use clearAuthorization() instead. * * @return TokenStorageInterface */ public function clearAllAuthorizationStates() { $this->sessionScope->set(self::SESSION_STATE, array()); return $this; }
public function testScopeDestroy() { $scope = new Session\Scope('testScope'); $this->assertNull($scope->destroy()); }