TerminableInterface (Component\HttpKernel)
Symfony\Component\HttpKernel\TerminableInterface
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.
Methods
terminate(Request $request, Response $response) Terminates a request/response cycle. |
Details
public terminate(Request $request, Response $response)
Terminates a request/response cycle.
Should be called after sending the response and before shutting down the kernel.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/HttpKernel/TerminableInterface.html