$results[] =
new ValueListFacetResult( 'property',
$isActive,
$group->
getName(),
$items,
$fieldName,
$group->
getAttributes() );
} } return new FacetResultGroup($results, null, 'property'
);
} /**
* @return array<int>
*/
private function getFilteredValues(Criteria
$criteria): array
{ $values =
[];
foreach ($criteria->
getConditions() as $condition) { if ($condition instanceof PropertyCondition
) { $values =
array_merge($values,
$condition->
getValueIds());
}