function SessionManagerInterface::setWriteSafeHandler

Same name in other branches
  1. 9 core/lib/Drupal/Core/Session/SessionManagerInterface.php \Drupal\Core\Session\SessionManagerInterface::setWriteSafeHandler()
  2. 10 core/lib/Drupal/Core/Session/SessionManagerInterface.php \Drupal\Core\Session\SessionManagerInterface::setWriteSafeHandler()
  3. 11.x core/lib/Drupal/Core/Session/SessionManagerInterface.php \Drupal\Core\Session\SessionManagerInterface::setWriteSafeHandler()

Sets the write safe session handler.

@todo: This should be removed once all database queries are removed from the session manager class.

1 method overrides SessionManagerInterface::setWriteSafeHandler()
SessionManager::setWriteSafeHandler in core/lib/Drupal/Core/Session/SessionManager.php
Sets the write safe session handler.

File

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

Class

SessionManagerInterface
Defines the session manager interface.

Namespace

Drupal\Core\Session

Code

public function setWriteSafeHandler(WriteSafeSessionHandlerInterface $handler);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.