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>
@api
Expanded class hierarchy of TerminableInterface
All classes that implement TerminableInterface
interface TerminableInterface {
/**
* Terminates a request/response cycle.
*
* Should be called after sending the response and before shutting down the kernel.
*
* @param Request $request A Request instance
* @param Response $response A Response instance
*
* @api
*/
public function terminate(Request $request, Response $response);
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TerminableInterface:: |
public | function | Terminates a request/response cycle. | 3 |