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