Sets the session name
@api
Parameters
string $name:
Overrides SessionStorageInterface::setName
File
- drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Storage/MockArraySessionStorage.php, line 152
Class
- MockArraySessionStorage
- MockArraySessionStorage mocks the session for unit tests.
Namespace
Symfony\Component\HttpFoundation\Session\Storage
Code
public function setName($name) {
$this->name = $name;
}