CommandsProviderInterface.php 596 B

1234567891011121314151617181920212223242526272829303132
  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. use Composer\IO\IOInterface;
  14. /**
  15. * Commands Provider Interface
  16. *
  17. * @author Jérémy Derussé <jeremy@derusse.com>
  18. */
  19. interface CommandsProviderInterface
  20. {
  21. /**
  22. * Retreives list of commands
  23. *
  24. * @return array
  25. */
  26. public function getCommands();
  27. }