InstallerEvents.php 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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\Installer;
  12. /**
  13. * The Installer Events.
  14. *
  15. * @author François Pluchino <francois.pluchino@gmail.com>
  16. */
  17. class InstallerEvents
  18. {
  19. /**
  20. * The PRE_DEPENDENCIES_SOLVING event occurs as a installer begins
  21. * resolve operations.
  22. *
  23. * The event listener method receives a
  24. * Composer\Installer\InstallerEvent instance.
  25. *
  26. * @var string
  27. */
  28. const PRE_DEPENDENCIES_SOLVING = 'pre-dependencies-solving';
  29. /**
  30. * The POST_DEPENDENCIES_SOLVING event occurs as a installer after
  31. * resolve operations.
  32. *
  33. * The event listener method receives a
  34. * Composer\Installer\InstallerEvent instance.
  35. *
  36. * @var string
  37. */
  38. const POST_DEPENDENCIES_SOLVING = 'post-dependencies-solving';
  39. }