AbstractSession
in package
implements
ArrayAccess
A testable session abstraction.
Tags
Interfaces, Classes, Traits and Enums
- ArrayAccess
Table of Contents
- __construct() : mixed
- isNotActive() : bool
- Determine if the session is not active.
- offsetExists() : bool
- offsetGet() : mixed
- offsetSet() : void
- offsetUnset() : void
Methods
__construct()
public
__construct(array<int|string, array<string|int, CsrfToken>> &$sessionVars) : mixed
Parameters
- $sessionVars : array<int|string, array<string|int, CsrfToken>>
Return values
mixed —isNotActive()
Determine if the session is not active.
public
abstract isNotActive() : bool
Return values
bool —offsetExists()
public
offsetExists(mixed $offset) : bool
Parameters
- $offset : mixed
Return values
bool —offsetGet()
public
offsetGet(mixed $offset) : mixed
Parameters
- $offset : mixed
Return values
mixed —offsetSet()
public
offsetSet(mixed $offset, mixed $value) : void
Parameters
- $offset : mixed
- $value : mixed
Return values
void —offsetUnset()
public
offsetUnset(mixed $offset) : void
Parameters
- $offset : mixed