1
0
Fork 0
composer/tests/Composer/Test/Plugin/Fixtures/plugin-v8/Installer/Plugin8.php

36 lines
761 B
PHP
Raw Normal View History

2014-10-26 17:47:29 +00:00
<?php
namespace Installer;
use Composer\Composer;
use Composer\IO\IOInterface;
use Composer\Plugin\PluginInterface;
use Composer\Plugin\Capable;
2014-10-26 17:47:29 +00:00
class Plugin8 implements PluginInterface, Capable
2014-10-26 17:47:29 +00:00
{
public $version = 'installer-v8';
2014-10-26 17:47:29 +00:00
public function activate(Composer $composer, IOInterface $io)
{
$io->write('activate v8');
}
public function deactivate(Composer $composer, IOInterface $io)
{
$io->write('deactivate v8');
}
public function uninstall(Composer $composer, IOInterface $io)
{
$io->write('uninstall v8');
2014-10-26 17:47:29 +00:00
}
public function getCapabilities()
2014-10-26 17:47:29 +00:00
{
return array(
'Composer\Plugin\Capability\CommandProvider' => 'Installer\CommandProvider',
);
2014-10-26 17:47:29 +00:00
}
}