&& !
$criteriaFacet instanceof HeightFacet
) { continue;
} if (!\
array_key_exists($criteriaFacet->
getName(),
$elasticResult['aggregations'
])) { continue;
} $data =
$elasticResult['aggregations'
][$criteriaFacet->
getName()];
$facetResult =
$this->
createRangeFacet($criteriaFacet,
$data,
$criteria);
if (!
$facetResult) { continue;
} $result->
addFacet($facetResult);
} } /**
* @param WeightFacet|WidthFacet|LengthFacet|HeightFacet $facet
* @param array<string, string> $stats
*/