2013-08-13 13:55:52 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Installer;
|
|
|
|
|
|
|
|
use Composer\Composer;
|
2013-08-15 14:58:48 +00:00
|
|
|
use Composer\IO\IOInterface;
|
2013-08-13 13:55:52 +00:00
|
|
|
use Composer\Plugin\PluginInterface;
|
|
|
|
|
|
|
|
class Plugin2 implements PluginInterface
|
|
|
|
{
|
|
|
|
public $name = 'plugin2';
|
|
|
|
public $version = 'installer-v4';
|
|
|
|
|
2013-08-15 14:58:48 +00:00
|
|
|
public function activate(Composer $composer, IOInterface $io)
|
2013-08-13 13:55:52 +00:00
|
|
|
{
|
2019-02-18 17:14:46 +00:00
|
|
|
$io->write('activate v4-plugin2');
|
|
|
|
}
|
|
|
|
|
|
|
|
public function deactivate(Composer $composer, IOInterface $io)
|
|
|
|
{
|
|
|
|
$io->write('deactivate v4-plugin2');
|
|
|
|
}
|
|
|
|
|
|
|
|
public function uninstall(Composer $composer, IOInterface $io)
|
|
|
|
{
|
|
|
|
$io->write('uninstall v4-plugin2');
|
2013-08-13 13:55:52 +00:00
|
|
|
}
|
|
|
|
}
|