Exemple #1
0
 /**
  * Init model
  * Load Website, Group and Store collections
  *
  * @param \Magento\Store\Model\StoreManagerInterface $storeManager
  * @param \Magento\Backend\Model\Auth\Session $authSession
  */
 public function __construct(\Magento\Store\Model\StoreManagerInterface $storeManager, \Magento\Backend\Model\Auth\Session $authSession)
 {
     $this->_authSession = $authSession;
     return parent::__construct($storeManager);
 }
 public function __construct(\Magento\Store\Model\StoreManagerInterface $storeManager, \Tobai\GeoStoreSwitcher\Model\Config\ScopeDefiner $scopeDefiner)
 {
     $this->scopeDefiner = $scopeDefiner;
     parent::__construct($storeManager);
 }