ResolverInterface.php 799 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\View\Design\FileResolution\Fallback;
  7. use Magento\Framework\View\Design\FileResolution\Fallback;
  8. use Magento\Framework\View\Design\ThemeInterface;
  9. /**
  10. * Interface for resolvers of view files using fallback rules
  11. */
  12. interface ResolverInterface
  13. {
  14. /**
  15. * Get path of file after using fallback rules
  16. *
  17. * @param string $type
  18. * @param string $file
  19. * @param string|null $area
  20. * @param ThemeInterface|null $theme
  21. * @param string|null $locale
  22. * @param string|null $module
  23. * @return string|bool
  24. */
  25. public function resolve($type, $file, $area = null, ThemeInterface $theme = null, $locale = null, $module = null);
  26. }