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
AjaxDataCollector.php
35 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 | /** |
| 16 | * @author Bart van den Burg <bart@burgov.nl> |
| 17 | * |
| 18 | * @final |
| 19 | */ |
| 20 | class AjaxDataCollector extends DataCollector |
| 21 | { |
| 22 | public function collect(Request $request, Response $response, ?\Throwable $exception = null) |
| 23 | { |
| 24 | // all collecting is done client side |
| 25 | } |
| 26 | public function reset() |
| 27 | { |
| 28 | // all collecting is done client side |
| 29 | } |
| 30 | public function getName() : string |
| 31 | { |
| 32 | return 'ajax'; |
| 33 | } |
| 34 | } |
| 35 |