You are here

public function MockArraySessionStorage::getId in Zircon Profile 8

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

Returns the session ID.

Return value

string The session ID or empty.

Overrides SessionStorageInterface::getId

File

vendor/symfony/http-foundation/Session/Storage/MockArraySessionStorage.php, line 123

Class

MockArraySessionStorage
MockArraySessionStorage mocks the session for unit tests.

Namespace

Symfony\Component\HttpFoundation\Session\Storage

Code

public function getId() {
  return $this->id;
}