matomo
/
app
/
vendor
/
prefixed
/
symfony
/
http-kernel
/
DataCollector
/
DataCollectorInterface.php
AjaxDataCollector.php
2 years ago
ConfigDataCollector.php
1 year ago
DataCollector.php
2 years ago
DataCollectorInterface.php
2 years ago
DumpDataCollector.php
1 year ago
EventDataCollector.php
2 years ago
ExceptionDataCollector.php
2 years ago
LateDataCollectorInterface.php
2 years ago
LoggerDataCollector.php
1 year ago
MemoryDataCollector.php
1 year ago
RequestDataCollector.php
1 year ago
RouterDataCollector.php
1 year ago
TimeDataCollector.php
1 year ago
DataCollectorInterface.php
34 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\DataCollector; |
| 12 | |
| 13 | use Matomo\Dependencies\Symfony\Component\HttpFoundation\Request; |
| 14 | use Matomo\Dependencies\Symfony\Component\HttpFoundation\Response; |
| 15 | use Matomo\Dependencies\Symfony\Contracts\Service\ResetInterface; |
| 16 | /** |
| 17 | * DataCollectorInterface. |
| 18 | * |
| 19 | * @author Fabien Potencier <fabien@symfony.com> |
| 20 | */ |
| 21 | interface DataCollectorInterface extends ResetInterface |
| 22 | { |
| 23 | /** |
| 24 | * Collects data for the given Request and Response. |
| 25 | */ |
| 26 | public function collect(Request $request, Response $response, ?\Throwable $exception = null); |
| 27 | /** |
| 28 | * Returns the name of the collector. |
| 29 | * |
| 30 | * @return string |
| 31 | */ |
| 32 | public function getName(); |
| 33 | } |
| 34 |