\Symfony\Component\HttpFoundation\ExceptionSessionNotFoundException

Raised when a session does not exist. This happens in the following cases: - the session is not enabled - attempt to read a session outside a request context (ie. cli script).

Summary

Methods
Properties
Constants
__construct()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(string  $message = 'There is currently no session available.', int  $code, \Throwable  $previous = null) : mixed

Parameters

string $message
int $code
\Throwable $previous

Returns

mixed —