class RequestStackContext implements ContextInterface

Uses a RequestStack to populate the context.

Methods

__construct(RequestStack $requestStack)

No description

string
getBasePath()

Gets the base path.

bool
isSecure()

Checks whether the request is secure or not.

Details

at line line 25
__construct(RequestStack $requestStack)

Parameters

RequestStack $requestStack

at line line 33
string getBasePath()

Gets the base path.

Return Value

string The base path

at line line 45
bool isSecure()

Checks whether the request is secure or not.

Return Value

bool true if the request is secure, false otherwise