ConfigInterface.php 779 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. * View asset configuration interface
  9. *
  10. * @api
  11. * @since 100.0.2
  12. */
  13. interface ConfigInterface
  14. {
  15. /**
  16. * Check whether merging of CSS files is on
  17. *
  18. * @return bool
  19. */
  20. public function isMergeCssFiles();
  21. /**
  22. * Check whether merging of JavScript files is on
  23. *
  24. * @return bool
  25. */
  26. public function isMergeJsFiles();
  27. /**
  28. * Check whether bundling of JavScript files is on
  29. *
  30. * @return bool
  31. */
  32. public function isBundlingJsFiles();
  33. /**
  34. * Check whether minify of HTML is on
  35. *
  36. * @return bool
  37. */
  38. public function isMinifyHtml();
  39. }