/** * {@inheritdoc} */ public function getCollection() { $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getCollection'); if (!$pluginInfo) { return parent::getCollection(); } else { return $this->___callPlugins('getCollection', func_get_args(), $pluginInfo); } }
/** * Retrieve new (not loaded) Store collection object with group filter * * @return \Magento\Store\Model\Resource\Store\Collection */ public function getStoreCollection() { return $this->_store->getCollection()->addGroupFilter($this->getId()); }