Returns the session ID.
@api
Return value
string The session ID.
Overrides SessionInterface::getId
File
- drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Session.php, line 190
Class
- Session
- Session.
Namespace
Symfony\Component\HttpFoundation\Session
Code
public function getId() {
return $this->storage
->getId();
}