private function getStore($store) { if (!is_object($store)) { $store = $this->storeManager->getStore($store); } return $store; }