Documentation

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
author

Jérémy Derussé jeremy@derusse.com

Interfaces, Classes and Traits

RequestExceptionInterface
Interface for Request exceptions.

Table of Contents

__construct()  : mixed

Methods

__construct()

public __construct([string $message = 'There is currently no session available.' ], int $code[, Throwable|null $previous = null ]) : mixed
Parameters
$message : string = 'There is currently no session available.'
$code : int
$previous : Throwable|null = null
Return values
mixed

Search results