Sets the session ID
@api
Parameters
string $id:
Overrides SessionStorageInterface::setId
File
- drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php, line 174
Class
- NativeSessionStorage
- This provides a base class for session attribute storage.
Namespace
Symfony\Component\HttpFoundation\Session\Storage
Code
public function setId($id) {
$this->saveHandler
->setId($id);
}