<?php
namespace ComposerInstallers;
use ComposerComposer;
use ComposerIOIOInterface;
use ComposerPluginPluginInterface;
class Plugin implements PluginInterface
{
public function activate(Composer $composer, IOInterface $io)
{
$installer = new Installer($io, $composer);
$composer->getInstallationManager()->addInstaller($installer);
}
}