| Total Complexity | 3 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | class EventSubscriber implements EventSubscriberInterface |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @var Installer |
||
| 23 | */ |
||
| 24 | private $installer; |
||
| 25 | |||
| 26 | public function __construct( |
||
| 27 | Installer $installer |
||
| 28 | ) { |
||
| 29 | $this->installer = $installer; |
||
| 30 | } |
||
| 31 | |||
| 32 | public static function getSubscribedEvents() |
||
| 33 | { |
||
| 34 | return array( |
||
| 35 | Constant::EVENT_INSTALL => 'onInstallEvent', |
||
| 36 | ); |
||
| 37 | } |
||
| 38 | |||
| 39 | public function onInstallEvent(): void |
||
| 42 | } |
||
| 43 | } |
||
| 44 |