Total Complexity | 3 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | final class ComposerEventHandler implements PluginInterface, EventSubscriberInterface |
||
15 | { |
||
16 | private Plugin $plugin; |
||
17 | |||
18 | /** |
||
19 | * Returns list of events the plugin is subscribed to. |
||
20 | * |
||
21 | * @return array list of events |
||
22 | */ |
||
23 | public static function getSubscribedEvents(): array |
||
28 | ], |
||
29 | ]; |
||
30 | } |
||
31 | |||
32 | public function activate(Composer $composer, IOInterface $io): void |
||
33 | { |
||
34 | $this->plugin = new Plugin($composer, $io); |
||
35 | } |
||
36 | |||
37 | public function onPostAutoloadDump(Event $event): void |
||
42 | } |
||
43 | } |
||
44 |