ConfigInterface.php 470 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\Mview;
  7. /**
  8. * Interface \Magento\Framework\Mview\ConfigInterface
  9. *
  10. */
  11. interface ConfigInterface
  12. {
  13. /**
  14. * Get views list
  15. *
  16. * @return array[]
  17. */
  18. public function getViews();
  19. /**
  20. * Get view by ID
  21. *
  22. * @param string $viewId
  23. * @return array
  24. */
  25. public function getView($viewId);
  26. }