1 | <?php |
||
29 | class CustomAutoloaderPlugin implements PluginInterface, EventSubscriberInterface { |
||
30 | |||
31 | /** |
||
32 | * IO object. |
||
33 | * |
||
34 | * @var IOInterface IO object. |
||
35 | */ |
||
36 | private $io; |
||
37 | |||
38 | /** |
||
39 | * Composer object. |
||
40 | * |
||
41 | * @var Composer Composer object. |
||
42 | */ |
||
43 | private $composer; |
||
44 | |||
45 | /** |
||
46 | * Do nothing. |
||
47 | * |
||
48 | * @param Composer $composer Composer object. |
||
49 | * @param IOInterface $io IO object. |
||
50 | */ |
||
51 | public function activate( Composer $composer, IOInterface $io ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable |
||
55 | |||
56 | /** |
||
57 | * Tell composer to listen for events and do something with them. |
||
58 | * |
||
59 | * @return array List of succribed events. |
||
60 | */ |
||
61 | public static function getSubscribedEvents() { |
||
66 | |||
67 | /** |
||
68 | * Generate the custom autolaoder. |
||
69 | * |
||
70 | * @param Event $event Script event object. |
||
71 | */ |
||
72 | public function postAutoloadDump( Event $event ) { |
||
89 | |||
90 | } |
||
91 |