Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
29 | public function activate(Composer $composer, IOInterface $io) |
||
30 | { |
||
31 | (new Filesystem())->ensureDirectoryExists(static::PLUGIN_PATH); |
||
32 | |||
33 | $repository = new ProxyRepository(static::PLUGIN_PATH, 2, $io, $composer->getConfig()); |
||
34 | $composer->getRepositoryManager()->addRepository($repository); |
||
35 | } |
||
36 | } |