ReaderInterface.php 472 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * Reader responsible for retrieving provided scope of configuration from storage
  4. *
  5. * Copyright © Magento, Inc. All rights reserved.
  6. * See COPYING.txt for license details.
  7. */
  8. namespace Magento\Framework\Config;
  9. /**
  10. * Config reader interface.
  11. *
  12. * @api
  13. * @since 100.0.2
  14. */
  15. interface ReaderInterface
  16. {
  17. /**
  18. * Read configuration scope
  19. *
  20. * @param string|null $scope
  21. * @return array
  22. */
  23. public function read($scope = null);
  24. }