ReaderInterface.php 514 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * Scope Reader
  4. *
  5. * Copyright © Magento, Inc. All rights reserved.
  6. * See COPYING.txt for license details.
  7. */
  8. namespace Magento\Framework\App\Config\Scope;
  9. /**
  10. * Interface \Magento\Framework\App\Config\Scope\ReaderInterface
  11. *
  12. */
  13. interface ReaderInterface
  14. {
  15. /**
  16. * Read configuration scope
  17. *
  18. * @param string|null $scopeType
  19. * @throws \Exception May throw an exception if the given scope is invalid
  20. * @return array
  21. */
  22. public function read($scopeType = null);
  23. }