Terminates a request/response cycle.
Should be called after sending the response and before shutting down the kernel.
@api
Parameters
Request $request A Request instance:
Response $response A Response instance:
File
- drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/TerminableInterface.php, line 38
Class
- TerminableInterface
- Terminable extends the Kernel request/response cycle with dispatching a post
response event after sending the response and before shutting down the kernel.
Namespace
Symfony\Component\HttpKernel
Code
public function terminate(Request $request, Response $response);