PluginInterface.php 603 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /*
  3. * This file is part of Composer.
  4. *
  5. * (c) Nils Adermann <naderman@naderman.de>
  6. * Jordi Boggiano <j.boggiano@seld.be>
  7. *
  8. * For the full copyright and license information, please view the LICENSE
  9. * file that was distributed with this source code.
  10. */
  11. namespace Composer\Plugin;
  12. use Composer\Composer;
  13. /**
  14. * Plugin interface
  15. *
  16. * @author Nils Adermann <naderman@naderman.de>
  17. */
  18. interface PluginInterface
  19. {
  20. /**
  21. * Apply plugin modifications to the passed in composer object
  22. *
  23. * @param Composer $composer
  24. */
  25. public function activate(Composer $composer);
  26. }