| Total Complexity | 5 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | class EventSubscriber implements EventSubscriberInterface |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * @var Config |
||
| 26 | */ |
||
| 27 | private $config; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @var LoggerInterface |
||
| 31 | */ |
||
| 32 | private $logger; |
||
| 33 | |||
| 34 | public function __construct(Config $config, LoggerInterface $logger) |
||
| 35 | { |
||
| 36 | $this->config = $config; |
||
| 37 | $this->logger = $logger; |
||
| 38 | } |
||
| 39 | |||
| 40 | public static function getSubscribedEvents() |
||
| 44 | ); |
||
| 45 | } |
||
| 46 | |||
| 47 | public function onPrePatchEvent(PatchEvent $event): void |
||
| 63 |