public function SessionManagerInterface::destroy

public SessionManagerInterface::destroy()

Destroys the current session and removes session cookies.

File

core/lib/Drupal/Core/Session/SessionManagerInterface.php, line 23

Class

SessionManagerInterface
Defines the session manager interface.

Namespace

Drupal\Core\Session

Code

public function destroy();

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Session!SessionManagerInterface.php/function/SessionManagerInterface::destroy/8.1.x