| Total Complexity | 4 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class PostDispatchDeploymentSubscriber implements EventSubscriberInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var LazyPDO |
||
| 14 | */ |
||
| 15 | private $lazyPdo; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @return array |
||
| 19 | */ |
||
| 20 | public static function getSubscribedEvents(): array |
||
| 21 | { |
||
| 22 | return [ |
||
| 23 | PostDispatchDeploymentEvent::class => 'onPostDispatchDeployment' |
||
| 24 | ]; |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param LazyPDO $lazyPdo |
||
| 29 | */ |
||
| 30 | public function __construct(LazyPDO $lazyPdo) |
||
| 31 | { |
||
| 32 | $this->lazyPdo = $lazyPdo; |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param PostDispatchDeploymentEvent $event |
||
| 37 | */ |
||
| 38 | public function onPostDispatchDeployment(PostDispatchDeploymentEvent $event){ |
||
| 47 | ]); |
||
| 48 | } |
||
| 49 | } |