public function SessionHandlerInterface::read

Read session.

Parameters

string $sessionId:

Return value

string String as stored in persistent storage or empty string in all other cases.

Throws

\RuntimeException On fatal error but not "record not found".

See also

http://php.net/sessionhandlerinterface.read

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Resources/stubs/SessionHandlerInterface.php, line 61

Class

SessionHandlerInterface
SessionHandlerInterface

Code

public function read($sessionId);