123456789101112131415161718192021222324252627 |
- <?php
- namespace Installer;
- use Composer\Composer;
- use Composer\IO\IOInterface;
- use Composer\Plugin\PluginInterface;
- class Plugin implements PluginInterface
- {
- public $version = 'installer-v1';
- public function activate(Composer $composer, IOInterface $io)
- {
- $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');
- }
- }
|