Attribute
2 years ago
Bundle
1 year ago
CacheClearer
2 years ago
CacheWarmer
1 year ago
Config
1 year ago
Controller
1 year ago
ControllerMetadata
1 year ago
DataCollector
1 year ago
Debug
1 year ago
DependencyInjection
1 year ago
Event
1 year ago
EventListener
1 year ago
Exception
1 year ago
Fragment
1 year ago
HttpCache
1 year ago
Log
1 year ago
Profiler
1 year ago
Resources
2 years ago
HttpClientKernel.php
1 year ago
HttpKernel.php
1 year ago
HttpKernelBrowser.php
1 year ago
HttpKernelInterface.php
1 year ago
Kernel.php
1 month ago
KernelEvents.php
2 years ago
KernelInterface.php
2 years ago
LICENSE
2 years ago
README.md
2 years ago
RebootableInterface.php
2 years ago
TerminableInterface.php
2 years ago
UriSigner.php
1 year ago
TerminableInterface.php
31 lines
| 1 | <?php |
| 2 | |
| 3 | /* |
| 4 | * This file is part of the Symfony package. |
| 5 | * |
| 6 | * (c) Fabien Potencier <fabien@symfony.com> |
| 7 | * |
| 8 | * For the full copyright and license information, please view the LICENSE |
| 9 | * file that was distributed with this source code. |
| 10 | */ |
| 11 | namespace Matomo\Dependencies\Symfony\Component\HttpKernel; |
| 12 | |
| 13 | use Matomo\Dependencies\Symfony\Component\HttpFoundation\Request; |
| 14 | use Matomo\Dependencies\Symfony\Component\HttpFoundation\Response; |
| 15 | /** |
| 16 | * Terminable extends the Kernel request/response cycle with dispatching a post |
| 17 | * response event after sending the response and before shutting down the kernel. |
| 18 | * |
| 19 | * @author Jordi Boggiano <j.boggiano@seld.be> |
| 20 | * @author Pierre Minnieur <pierre.minnieur@sensiolabs.de> |
| 21 | */ |
| 22 | interface TerminableInterface |
| 23 | { |
| 24 | /** |
| 25 | * Terminates a request/response cycle. |
| 26 | * |
| 27 | * Should be called after sending the response and before shutting down the kernel. |
| 28 | */ |
| 29 | public function terminate(Request $request, Response $response); |
| 30 | } |
| 31 |