function SessionManager::setWriteSafeHandler
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Session/SessionManager.php \Drupal\Core\Session\SessionManager::setWriteSafeHandler()
- 10 core/lib/Drupal/Core/Session/SessionManager.php \Drupal\Core\Session\SessionManager::setWriteSafeHandler()
- 11.x core/lib/Drupal/Core/Session/SessionManager.php \Drupal\Core\Session\SessionManager::setWriteSafeHandler()
Overrides SessionManagerInterface::setWriteSafeHandler
File
-
core/
lib/ Drupal/ Core/ Session/ SessionManager.php, line 271
Class
- SessionManager
- Manages user sessions.
Namespace
Drupal\Core\SessionCode
public function setWriteSafeHandler(WriteSafeSessionHandlerInterface $handler) {
$this->writeSafeHandler = $handler;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.