Documentation

TerminableInterface

Terminable extends the Kernel request/response cycle with dispatching a post response event after sending the response and before shutting down the kernel.

Tags
author

Jordi Boggiano j.boggiano@seld.be

author

Pierre Minnieur pierre.minnieur@sensiolabs.de

Table of Contents

terminate()  : mixed
Terminates a request/response cycle.

Methods

terminate()

Terminates a request/response cycle.

public terminate(Request $request, Response $response) : mixed

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

Parameters
$request : Request
$response : Response
Return values
mixed

Search results