| Total Complexity | 4 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class AddIdentificationUriEventSubscriber implements EventSubscriberInterface |
||
| 14 | { |
||
| 15 | private string $documentUri; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param string|null $documentUri |
||
| 19 | */ |
||
| 20 | 13 | public function __construct(string $documentUri) |
|
| 21 | { |
||
| 22 | 13 | $this->documentUri = $documentUri; |
|
| 23 | 13 | } |
|
| 24 | |||
| 25 | /** |
||
| 26 | * @return array |
||
| 27 | */ |
||
| 28 | 12 | public static function getSubscribedEvents() |
|
| 36 | ] |
||
| 37 | ]; |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Add report uri. |
||
| 42 | * |
||
| 43 | * @param ObjectEvent $event |
||
| 44 | */ |
||
| 45 | 8 | public function addGetReportUri(ObjectEvent $event): void |
|
| 52 | } |
||
| 53 | 8 | } |
|
| 55 |