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

terminate(Request $request, Response $response)

Terminates a request/response cycle.

Should be called after sending the response and before shutting down the kernel.

Parameters

Request $request A Request instance
Response $response A Response instance
doc_Symfony
2016-10-28 06:34:23
Comments
Leave a Comment

Please login to continue.