ConfigInterface.php 542 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\View;
  7. /**
  8. * Config Interface
  9. *
  10. * @api
  11. * @since 100.0.2
  12. */
  13. interface ConfigInterface
  14. {
  15. /**
  16. * Filename of view configuration
  17. */
  18. const CONFIG_FILE_NAME = 'etc/view.xml';
  19. /**
  20. * Render view config object for current package and theme
  21. *
  22. * @param array $params
  23. * @return \Magento\Framework\Config\View
  24. */
  25. public function getViewConfig(array $params = []);
  26. }