29 lines
604 B
PHP
29 lines
604 B
PHP
<?php
|
|
|
|
namespace Installer;
|
|
|
|
use Composer\Composer;
|
|
use Composer\IO\IOInterface;
|
|
use Composer\Plugin\PluginInterface;
|
|
|
|
class Plugin2 implements PluginInterface
|
|
{
|
|
public $name = 'plugin2';
|
|
public $version = 'installer-v4';
|
|
|
|
public function activate(Composer $composer, IOInterface $io)
|
|
{
|
|
$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');
|
|
}
|
|
}
|