return $this->
createCollectionResult($facet,
$properties,
$actives);
} /**
* @deprecated - Will be private with Shopware 5.8
*
* @return array<int, Set>|null
*/
protected function getProperties(ShopContextInterface
$context, Criteria
$queryCriteria) { $query =
$this->queryBuilderFactory->
createQuery($queryCriteria,
$context);
$this->
rebuildQuery($query);
$propertyData =
$query->
execute()->
fetchAllAssociative();
$valueIds =
array_column($propertyData, 'id'
);
$filterGroupIds =
array_keys(array_flip(array_column($propertyData, 'filterGroupId'
)));
$filterGroupIds =
array_map('\intval',
$filterGroupIds);
if (empty($valueIds)) { return null;
}