SessionNotFoundException
extends LogicException
in package
implements
RequestExceptionInterface
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).
Tags
Table of Contents
Interfaces
- RequestExceptionInterface
- Interface for Request exceptions.
Methods
- __construct() : mixed
Methods
__construct()
public
__construct([string $message = 'There is currently no session available.' ][, int $code = 0 ][, Throwable $previous = null ]) : mixed
Parameters
- $message : string = 'There is currently no session available.'
- $code : int = 0
- $previous : Throwable = null