interface SessionManagerInterface
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Session/SessionManagerInterface.php \Drupal\Core\Session\SessionManagerInterface
- 10 core/lib/Drupal/Core/Session/SessionManagerInterface.php \Drupal\Core\Session\SessionManagerInterface
- 9 core/lib/Drupal/Core/Session/SessionManagerInterface.php \Drupal\Core\Session\SessionManagerInterface
- 8.9.x core/lib/Drupal/Core/Session/SessionManagerInterface.php \Drupal\Core\Session\SessionManagerInterface
Defines the session manager interface.
Hierarchy
- interface \Drupal\Core\Session\SessionManagerInterface extends \Symfony\Component\HttpFoundation\Session\Storage\SessionStorageInterface
Expanded class hierarchy of SessionManagerInterface
All classes that implement SessionManagerInterface
File
-
core/
lib/ Drupal/ Core/ Session/ SessionManagerInterface.php, line 10
Namespace
Drupal\Core\SessionView source
interface SessionManagerInterface extends SessionStorageInterface {
/**
* Destroys the current session and removes session cookies.
*/
public function destroy();
}
Members
| Title Sort descending | Modifiers | Object type | Summary | Overrides |
|---|---|---|---|---|
| SessionManagerInterface::destroy | public | function | Destroys the current session and removes session cookies. | 1 |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.