interface TerminableInterface
Terminable extends the Kernel request/response cycle with dispatching a post response event after sending the response and before shutting down the kernel.
@author Jordi Boggiano <j.boggiano@seld.be> @author Pierre Minnieur <pierre.minnieur@sensiolabs.de>
Hierarchy
- interface \Symfony\Component\HttpKernel\TerminableInterface
Expanded class hierarchy of TerminableInterface
All classes that implement TerminableInterface
4 files declare their use of TerminableInterface
- DrupalKernel.php in core/
lib/ Drupal/ Core/ DrupalKernel.php - HttpCache.php in vendor/
symfony/ http-kernel/ HttpCache/ HttpCache.php - StackedHttpKernel.php in core/
lib/ Drupal/ Core/ StackMiddleware/ StackedHttpKernel.php - StackedKernelPass.php in core/
lib/ Drupal/ Core/ DependencyInjection/ Compiler/ StackedKernelPass.php
File
-
vendor/
symfony/ http-kernel/ TerminableInterface.php, line 24
Namespace
Symfony\Component\HttpKernelView source
interface TerminableInterface {
/**
* Terminates a request/response cycle.
*
* Should be called after sending the response and before shutting down the kernel.
*/
public function terminate(Request $request, Response $response) : void;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
TerminableInterface::terminate | public | function | Terminates a request/response cycle. | 5 |