W3cubDocs

/Drupal 8

interface SessionManagerInterface

Defines the session manager interface.

Hierarchy

File

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

Namespace

Drupal\Core\Session

Members

Name Modifiers Type Description
SessionManagerInterface::delete public function Ends a specific user's session(s).
SessionManagerInterface::destroy public function Destroys the current session and removes session cookies.
SessionManagerInterface::setWriteSafeHandler public function Sets the write safe session handler.
SessionStorageInterface::clear public function Clear all session data in memory.
SessionStorageInterface::getBag public function Gets a SessionBagInterface by name.
SessionStorageInterface::getId public function Returns the session ID.
SessionStorageInterface::getMetadataBag public function
SessionStorageInterface::getName public function Returns the session name.
SessionStorageInterface::isStarted public function Checks if the session is started.
SessionStorageInterface::regenerate public function Regenerates id that represents this storage.
SessionStorageInterface::registerBag public function Registers a SessionBagInterface for use.
SessionStorageInterface::save public function Force the session to be saved and closed.
SessionStorageInterface::setId public function Sets the session ID.
SessionStorageInterface::setName public function Sets the session name.
SessionStorageInterface::start public function Starts the session.

© 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/interface/SessionManagerInterface/8.1.x