class HttpCache extends HttpCache
Manages HTTP cache objects in a Container.
Methods
__construct(HttpKernelInterface $kernel, string $cacheDir = null) Constructor. | ||
StoreInterface | getStore() Gets the current store. | from HttpCache |
array | getTraces() Returns an array of events that took place during processing of the last request. | from HttpCache |
string | getLog() Returns a log message for the events of the last request processing. | from HttpCache |
Request | getRequest() Gets the Request instance associated with the master request. | from HttpCache |
HttpKernelInterface | getKernel() Gets the Kernel instance. | from HttpCache |
SurrogateInterface | getSurrogate() Gets the Surrogate instance. | from HttpCache |
Response | handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) Handles a Request to convert it to a Response. | from HttpCache |
terminate(Request $request, Response $response) Terminates a request/response cycle. | from HttpCache |
Details
__construct(HttpKernelInterface $kernel, string $cacheDir = null)
Constructor.
StoreInterface getStore()
Gets the current store.
array getTraces()
Returns an array of events that took place during processing of the last request.
string getLog()
Returns a log message for the events of the last request processing.
Request getRequest()
Gets the Request instance associated with the master request.
HttpKernelInterface getKernel()
Gets the Kernel instance.
SurrogateInterface getSurrogate()
Gets the Surrogate instance.
Please login to continue.