SessionManager::setWriteSafeHandler

public SessionManager::setWriteSafeHandler(WriteSafeSessionHandlerInterface $handler)

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 271

Class

SessionManager
Manages user sessions.

Namespace

Drupal\Core\Session

Code

public function setWriteSafeHandler(WriteSafeSessionHandlerInterface $handler) {
  $this->writeSafeHandler = $handler;
}
doc_Drupal
2016-10-29 09:42:05
Comments
Leave a Comment

Please login to continue.