ProcessorInterface.php 586 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Deploy\Package\Processor;
  7. use Magento\Deploy\Package\Package;
  8. /**
  9. * Deploy packages processor interface
  10. */
  11. interface ProcessorInterface
  12. {
  13. /**
  14. * Process package
  15. *
  16. * Package processors may produce additional (derivative) files or do additional content modifications
  17. *
  18. * @param Package $package
  19. * @param array $options
  20. * @return bool true on success
  21. */
  22. public function process(Package $package, array $options);
  23. }