Documentation

SessionWrapper extends AbstractSession
in package

Allows for testable session handling.

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 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
Return values
void

Search results