function TerminableInterface::terminate
Terminates a request/response cycle.
Should be called after sending the response and before shutting down the kernel.
5 methods override TerminableInterface::terminate()
- DrupalKernel::terminate in core/
lib/ Drupal/ Core/ DrupalKernel.php - Terminates a request/response cycle.
- HttpCache::terminate in vendor/
symfony/ http-kernel/ HttpCache/ HttpCache.php - Terminates a request/response cycle.
- HttpKernel::terminate in vendor/
symfony/ http-kernel/ HttpKernel.php - Terminates a request/response cycle.
- Kernel::terminate in vendor/
symfony/ http-kernel/ Kernel.php - Terminates a request/response cycle.
- StackedHttpKernel::terminate in core/
lib/ Drupal/ Core/ StackMiddleware/ StackedHttpKernel.php - Terminates a request/response cycle.
File
-
vendor/
symfony/ http-kernel/ TerminableInterface.php, line 31
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\HttpKernelCode
public function terminate(Request $request, Response $response) : void;