Author: Aurelien FOUCRET (aurelien.foucret@smile.fr)
Inheritance: extends Smile\ElasticsuiteCore\Search\Request\ContainerConfiguration\RelevanceConfig\Factory
Example #1
0
 /**
  * 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);
 }