RuleInterface.php 528 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\View\Design\Fallback\Rule;
  7. /**
  8. * Rule Interface
  9. *
  10. * Interface for search path resolution during fallback process
  11. */
  12. interface RuleInterface
  13. {
  14. /**
  15. * Get ordered list of folders to search for a file
  16. *
  17. * @param array $params Values to substitute placeholders with
  18. * @return array folders to perform a search
  19. */
  20. public function getPatternDirs(array $params);
  21. }