Plugin7.php 511 B

12345678910111213141516171819202122232425
  1. <?php
  2. namespace Installer;
  3. use Composer\Composer;
  4. use Composer\IO\IOInterface;
  5. use Composer\Plugin\PluginInterface;
  6. class Plugin7 implements PluginInterface
  7. {
  8. public function activate(Composer $composer, IOInterface $io)
  9. {
  10. $io->write('activate v7');
  11. }
  12. public function deactivate(Composer $composer, IOInterface $io)
  13. {
  14. $io->write('deactivate v7');
  15. }
  16. public function uninstall(Composer $composer, IOInterface $io)
  17. {
  18. $io->write('uninstall v7');
  19. }
  20. }