Smile\ElasticsuiteCore\Helper\IndexSettings::getStore PHP Method

getStore() private method

Ensure store is an object or load it from it's id / identifier.
private getStore ( integer | string | Magento\Store\Api\Data\StoreInterface $store ) : Magento\Store\Api\Data\StoreInterface
$store integer | string | Magento\Store\Api\Data\StoreInterface The store identifier or id.
return Magento\Store\Api\Data\StoreInterface
    private function getStore($store)
    {
        if (!is_object($store)) {
            $store = $this->storeManager->getStore($store);
        }
        return $store;
    }