4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\HttpKernel;
14 use Symfony\Component\HttpFoundation\Request;
15 use Symfony\Component\HttpFoundation\Response;
18 * Terminable extends the Kernel request/response cycle with dispatching a post
19 * response event after sending the response and before shutting down the kernel.
21 * @author Jordi Boggiano <j.boggiano@seld.be>
22 * @author Pierre Minnieur <pierre.minnieur@sensiolabs.de>
24 interface TerminableInterface
27 * Terminates a request/response cycle.
29 * Should be called after sending the response and before shutting down the kernel.
31 public function terminate(Request $request, Response $response);