class Context

HTTP-specific tasks.

Traits

Strict class for better experience.

Methods

__construct(IRequest $request, IResponse $response)

No description

bool
isModified($lastModified = null, string $etag = null)

Attempts to cache the sent entity by its last modification date.

getRequest()

No description

getResponse()

No description

Details

at line 29
__construct(IRequest $request, IResponse $response)

Parameters

IRequest $request
IResponse $response

at line 40
bool isModified($lastModified = null, string $etag = null)

Attempts to cache the sent entity by its last modification date.

Parameters

$lastModified
string $etag

Return Value

bool

at line 84
IRequest getRequest()

Return Value

IRequest

at line 90
IResponse getResponse()

Return Value

IResponse