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 Plugin implements PluginInterface
|
|
|
|
{
|
|
|
|
public $version = 'installer-v1';
|
|
|
|
|
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 v1');
|
|
|
|
}
|
|
|
|
|
|
|
|
public function deactivate(Composer $composer, IOInterface $io)
|
|
|
|
{
|
|
|
|
$io->write('deactivate v1');
|
|
|
|
}
|
|
|
|
|
|
|
|
public function uninstall(Composer $composer, IOInterface $io)
|
|
|
|
{
|
|
|
|
$io->write('uninstall v1');
|
2013-08-13 13:55:52 +00:00
|
|
|
}
|
|
|
|
}
|