Returns the session ID
@api
Return value
string The session ID or empty.
File
- drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Storage/SessionStorageInterface.php, line 52
Class
- SessionStorageInterface
- StorageInterface.
Namespace
Symfony\Component\HttpFoundation\Session\Storage
Code
public function getId();