You are here

public function Session::getId 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::getId()

Returns the session ID.

Return value

string The session ID.

Overrides SessionInterface::getId

File

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

Class

Session
Session.

Namespace

Symfony\Component\HttpFoundation\Session

Code

public function getId() {
  return $this->storage
    ->getId();
}