2016-06-01 08:00:37 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types = 1);
|
|
|
|
|
|
|
|
namespace Installer;
|
|
|
|
|
|
|
|
use Composer\Composer;
|
|
|
|
use Composer\IO\IOInterface;
|
|
|
|
use Composer\Plugin\PluginInterface;
|
|
|
|
|
|
|
|
class Plugin implements PluginInterface
|
|
|
|
{
|
|
|
|
public $version = 'installer-v9';
|
|
|
|
|
|
|
|
public function activate(Composer $composer, IOInterface $io)
|
|
|
|
{
|
2019-02-18 17:14:46 +00:00
|
|
|
$io->write('activate v9');
|
|
|
|
}
|
|
|
|
|
|
|
|
public function deactivate(Composer $composer, IOInterface $io)
|
|
|
|
{
|
|
|
|
$io->write('deactivate v9');
|
|
|
|
}
|
|
|
|
|
|
|
|
public function uninstall(Composer $composer, IOInterface $io)
|
|
|
|
{
|
|
|
|
$io->write('uninstall v9');
|
2016-06-01 08:00:37 +00:00
|
|
|
}
|
|
|
|
}
|