trait SessionEnvTypeSwitcher

Implements switching user session into Test and Dev environment types

Methods

bool
setSessionEnvType(HTTPRequest $request)

Checks whether the request has GET flags to control environment type and amends the user session accordingly

Details

at line 22
bool setSessionEnvType(HTTPRequest $request)

Checks whether the request has GET flags to control environment type and amends the user session accordingly

Parameters

HTTPRequest $request

Return Value

bool true if changed the user session state, false otherwise