mirror of
https://github.com/bdnugget/magento2.git
synced 2026-11-07 09:17:35 +00:00
31 lines
602 B
PHP
31 lines
602 B
PHP
<?php
|
|
/**
|
|
* Copyright © Magento, Inc. All rights reserved.
|
|
* See COPYING.txt for license details.
|
|
*/
|
|
namespace Magento\Store\Model\StoreResolver;
|
|
|
|
/**
|
|
* Interface \Magento\Store\Model\StoreResolver\ReaderInterface
|
|
*
|
|
* @api
|
|
*/
|
|
interface ReaderInterface
|
|
{
|
|
/**
|
|
* Retrieve list of stores available for scope
|
|
*
|
|
* @param string $scopeCode
|
|
* @return array
|
|
*/
|
|
public function getAllowedStoreIds($scopeCode);
|
|
|
|
/**
|
|
* Retrieve default store id
|
|
*
|
|
* @param string $scopeCode
|
|
* @return int
|
|
*/
|
|
public function getDefaultStoreId($scopeCode);
|
|
}
|