src/Plugin.php
public function activate(Composer $composer, IOInterface $ioc)
    {
        $installer = new Installer($ioc, $composer);
        /** @type InstallationManager $manager */
        $manager = $composer->getInstallationManager();
        $manager->addInstaller($installer);
    }
public function activate(Composer $composer, IOInterface $ioc)
    {
        $installer = new Installer($ioc, $composer);
        /** @type InstallationManager $manager */
        $manager = $composer->getInstallationManager();
        $manager->addInstaller($installer);
    }
public function activate ( Composer $ composer , IOInterface $ ioc ) { $ installer = new Installer ( $ ioc , $ composer ) ; /** @type InstallationManager $manager */ $ manager = $ composer -> getInstallationManager ( ) ; $ manager -> addInstaller ( $ installer ) ; }
Activates plugin and registers installer.

@param Composer    $composer Composer instance.
@param IOInterface $ioc      I/O controller

@return void
@since 0.1.0
Activates plugin and registers installer .