You are here

public function MockArraySessionStorage::setName 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::setName()

Sets the session name.

Parameters

string $name:

Overrides SessionStorageInterface::setName

File

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

Class

MockArraySessionStorage
MockArraySessionStorage mocks the session for unit tests.

Namespace

Symfony\Component\HttpFoundation\Session\Storage

Code

public function setName($name) {
  $this->name = $name;
}