public function WriteSafeSessionHandler::close

public WriteSafeSessionHandler::close()

Closes the current session.

Return value

bool true on success, false on failure

Overrides SessionHandlerInterface::close

See also

http://php.net/sessionhandlerinterface.close

File

core/lib/Drupal/Core/Session/WriteSafeSessionHandler.php, line 38

Class

WriteSafeSessionHandler
Wraps another SessionHandlerInterface to prevent writes when not allowed.

Namespace

Drupal\Core\Session

Code

public function close() {
  return $this->wrappedSessionHandler->close();
}

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