StoreResolverInterface.php 474 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Store\Api;
  7. /**
  8. * Store resolver interface
  9. *
  10. * @deprecated 101.0.0
  11. * @see \Magento\Store\Model\StoreManagerInterface
  12. */
  13. interface StoreResolverInterface
  14. {
  15. /**
  16. * Param name
  17. */
  18. const PARAM_NAME = '___store';
  19. /**
  20. * Retrieve current store id
  21. *
  22. * @return string
  23. */
  24. public function getCurrentStoreId();
  25. }