Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. NativeSessionStorage.php

function NativeSessionStorage::getName

Overrides SessionStorageInterface::getName

1 call to NativeSessionStorage::getName()
SessionManager::destroy in core/lib/Drupal/Core/Session/SessionManager.php
Destroys the current session and removes session cookies.

File

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

Class

NativeSessionStorage
This provides a base class for session attribute storage.

Namespace

Symfony\Component\HttpFoundation\Session\Storage

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal