| Total Complexity | 5 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Coverage | 33.33% |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class BrowserDataAppending implements EventSubscriberInterface |
||
| 14 | { |
||
| 15 | /** @var UserAgent */ |
||
| 16 | private $userAgent; |
||
| 17 | /** |
||
| 18 | * @var Parser |
||
| 19 | */ |
||
| 20 | private $parser; |
||
| 21 | |||
| 22 | 1 | public function __construct(Parser $parser) |
|
| 25 | 1 | } |
|
| 26 | |||
| 27 | 1 | public static function getSubscribedEvents(): array |
|
| 31 | ]; |
||
| 32 | } |
||
| 33 | |||
| 34 | public function __invoke(array $record): array |
||
| 45 | } |
||
| 46 | |||
| 47 | public function onKernelRequest(GetResponseEvent $event): void |
||
| 55 |