public function __construct(OnlineShop_Framework_IndexService_Tenant_IConfig $tenantConfig) { $this->name = $tenantConfig->getTenantName(); $this->tenantConfig = $tenantConfig; $this->columnConfig = $tenantConfig->getAttributeConfig(); $this->searchColumnConfig = $tenantConfig->getSearchAttributeConfig(); $this->db = \Pimcore\Resource::get(); }