ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ComponentInstallerPlugin.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of Component Installer.
5  *
6  * (c) Rob Loach (http://robloach.net)
7  *
8  * For the full copyright and license information, please view the LICENSE.md
9  * file that was distributed with this source code.
10  */
11 
13 
17 
25 class ComponentInstallerPlugin implements PluginInterface
26 {
30  public function activate(Composer $composer, IOInterface $io)
31  {
32  $installer = new Installer($io, $composer);
33  $composer->getInstallationManager()->addInstaller($installer);
34  }
35 }
Composer Plugin to install Components.
activate(Composer $composer, IOInterface $io)
Called when the plugin is activated.
Component Installer for Composer.
Definition: Installer.php:22