ScopeResolverInterface.php 476 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\Url;
  7. /**
  8. * This ScopeResolverInterface adds the ability to get the Magento area the code is executing in.
  9. *
  10. * @api
  11. * @since 100.0.2
  12. */
  13. interface ScopeResolverInterface extends \Magento\Framework\App\ScopeResolverInterface
  14. {
  15. /**
  16. * Retrieve area code
  17. *
  18. * @return string|null
  19. */
  20. public function getAreaCode();
  21. }