Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
StoreManagerInterface.php
Go to the documentation of this file.
1 <?php
7 namespace Magento\Store\Model;
8 
10 
18 {
22  const CONTEXT_STORE = 'store';
23 
27  const PARAM_NAME = '___store';
28 
35  public function setIsSingleStoreModeAllowed($value);
36 
42  public function hasSingleStore();
43 
49  public function isSingleStoreMode();
50 
58  public function getStore($storeId = null);
59 
67  public function getStores($withDefault = false, $codeKey = false);
68 
76  public function getWebsite($websiteId = null);
77 
85  public function getWebsites($withDefault = false, $codeKey = false);
86 
92  public function reinitStores();
93 
99  public function getDefaultStoreView();
100 
107  public function getGroup($groupId = null);
108 
115  public function getGroups($withDefault = false);
116 
123  public function setCurrentStore($store);
124 }
getWebsites($withDefault=false, $codeKey=false)
$value
Definition: gender.phtml:16
getStores($withDefault=false, $codeKey=false)