You are here

public function Session::setId in Zircon Profile 8.0

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

Sets the session ID.

Parameters

string $id:

Overrides SessionInterface::setId

File

vendor/symfony/http-foundation/Session/Session.php, line 195

Class

Session
Session.

Namespace

Symfony\Component\HttpFoundation\Session

Code

public function setId($id) {
  $this->storage
    ->setId($id);
}