public function SessionStorageInterface::getId

Returns the session ID

@api

Return value

string The session ID or empty.

2 methods override SessionStorageInterface::getId()
MockArraySessionStorage::getId in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Storage/MockArraySessionStorage.php
Returns the session ID
NativeSessionStorage::getId in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php
Returns the session ID

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Storage/SessionStorageInterface.php, line 52

Class

SessionStorageInterface
StorageInterface.

Namespace

Symfony\Component\HttpFoundation\Session\Storage

Code

public function getId();