W3cubDocs

/Drupal 8

interface WriteSafeSessionHandlerInterface

Provides an interface for session handlers where writing can be disabled.

Hierarchy

File

core/lib/Drupal/Core/Session/WriteSafeSessionHandlerInterface.php, line 8

Namespace

Drupal\Core\Session

Members

Name Modifiers Type Description
WriteSafeSessionHandlerInterface::isSessionWritable public function Returns whether or not a session may be written to storage.
WriteSafeSessionHandlerInterface::setSessionWritable public function Sets whether or not a session may be written to storage.

© 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!WriteSafeSessionHandlerInterface.php/interface/WriteSafeSessionHandlerInterface/8.1.x