HttpCache
class HttpCache extends HttpCache
Manages HTTP cache objects in a Container.
Methods
array
getTraces()
Returns an array of events that took place during processing of the last request.
from HttpCache
Details
at line line 35
__construct(HttpKernelInterface $kernel, string $cacheDir = null)
in HttpCache at line line 98
StoreInterface
getStore()
Gets the current store.
in HttpCache at line line 108
array
getTraces()
Returns an array of events that took place during processing of the last request.
in HttpCache at line line 118
string
getLog()
Returns a log message for the events of the last request processing.
in HttpCache at line line 133
Request
getRequest()
Gets the Request instance associated with the master request.
in HttpCache at line line 143
HttpKernelInterface
getKernel()
Gets the Kernel instance.
in HttpCache at line line 155
SurrogateInterface
getSurrogate()
Gets the Surrogate instance.
in HttpCache at line line 163
Response
handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true)
Handles a Request to convert it to a Response.
When $catch is true, the implementation must catch all exceptions and do its best to convert them to a Response instance.