/** * Load the thesaurus config for the current container. * * @param ContainerConfigurationInterface $containerConfig Search request container config. * * @return ThesaurusConfig */ private function getConfig(ContainerConfigurationInterface $containerConfig) { $storeId = $containerConfig->getStoreId(); $containerName = $containerConfig->getName(); return $this->thesaurusConfigFactory->create($storeId, $containerName); }