You are here

public function SessionManager::setWriteSafeHandler in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Session/SessionManager.php \Drupal\Core\Session\SessionManager::setWriteSafeHandler()

Sets the write safe session handler.

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

Overrides SessionManagerInterface::setWriteSafeHandler

File

core/lib/Drupal/Core/Session/SessionManager.php, line 275
Contains \Drupal\Core\Session\SessionManager.

Class

SessionManager
Manages user sessions.

Namespace

Drupal\Core\Session

Code

public function setWriteSafeHandler(WriteSafeSessionHandlerInterface $handler) {
  $this->writeSafeHandler = $handler;
}