W3cubDocs

/Drupal 8

public function SessionManagerInterface::setWriteSafeHandler

public SessionManagerInterface::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.

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);

© 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!SessionManagerInterface.php/function/SessionManagerInterface::setWriteSafeHandler/8.1.x