SessionManagerInterface

Defines the session manager interface.

Hierarchy

  • interface \Symfony\Component\HttpFoundation\Session\Storage\SessionStorageInterface

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.
doc_Drupal
2016-10-29 09:42:06
Comments
Leave a Comment

Please login to continue.