PreProcessorInterface.php 499 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\View\Asset;
  7. /**
  8. * An interface for "preprocessing" asset contents
  9. *
  10. * @api
  11. * @since 100.0.2
  12. */
  13. interface PreProcessorInterface
  14. {
  15. /**
  16. * Transform content and/or content type for the specified preprocessing chain object
  17. *
  18. * @param PreProcessor\Chain $chain
  19. * @return void
  20. */
  21. public function process(PreProcessor\Chain $chain);
  22. }