ScopeInterface.php 525 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\Config;
  7. /**
  8. * Config scope interface.
  9. *
  10. * @api
  11. * @since 100.0.2
  12. */
  13. interface ScopeInterface
  14. {
  15. /**
  16. * Get current configuration scope identifier
  17. *
  18. * @return string
  19. */
  20. public function getCurrentScope();
  21. /**
  22. * Set current configuration scope
  23. *
  24. * @param string $scope
  25. * @return void
  26. */
  27. public function setCurrentScope($scope);
  28. }