You are here

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

Sets the session name.

Parameters

string $name:

Overrides SessionStorageInterface::setName

File

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

Class

NativeSessionStorage
This provides a base class for session attribute storage.

Namespace

Symfony\Component\HttpFoundation\Session\Storage

Code

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