Context
class Context
HTTP-specific tasks.
Methods
bool
isModified(string|int|DateTimeInterface|null $lastModified = null, string|null $etag = null)
Checks whether the response has been modified since the client's cached version.
getRequest()
No description
getResponse()
No description
Details
at line 27
bool
isModified(string|int|DateTimeInterface|null $lastModified = null, string|null $etag = null)
Checks whether the response has been modified since the client's cached version.
Sets Last-Modified and ETag headers if provided. Returns false and sends 304 Not Modified if unchanged.
at line 72
IRequest
getRequest()
No description
at line 78
IResponse
getResponse()
No description