Ejemplo n.º 1
0
 public function __construct(OnlineShop_Framework_IndexService_Tenant_Config_ElasticSearch $tenantConfig)
 {
     parent::__construct($tenantConfig);
     $generalSettings = $tenantConfig->getGeneralSettings();
     if ($generalSettings['indexName']) {
         $this->indexName = $generalSettings['indexName'];
     } else {
         $this->indexName = strtolower($this->name);
     }
     $this->determineAndSetCurrentIndexVersion();
 }
Ejemplo n.º 2
0
 public function __construct(OnlineShop_Framework_IndexService_Tenant_IMysqlConfig $tenantConfig)
 {
     parent::__construct($tenantConfig);
 }