You are here

public function NativeSessionStorage::getName in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php \Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage::getName()

Returns the session name.

Return value

mixed The session name.

Overrides SessionStorageInterface::getName

2 calls to NativeSessionStorage::getName()
SessionManager::destroy in core/lib/Drupal/Core/Session/SessionManager.php
Destroys the current session and removes session cookies.
SessionManager::regenerate in core/lib/Drupal/Core/Session/SessionManager.php
Regenerates id that represents this storage.

File

vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php, line 180

Class

NativeSessionStorage
This provides a base class for session attribute storage.

Namespace

Symfony\Component\HttpFoundation\Session\Storage

Code

public function getName() {
  return $this->saveHandler
    ->getName();
}