$this->
addCondition($condition,
$query);
} private function addCondition(OrdernumberCondition
$condition, QueryBuilder
$query): void
{ $key = ':ordernumbers' .
md5(json_encode($condition, JSON_THROW_ON_ERROR
));
$query->
andWhere('variant.ordernumber IN (' .
$key . ')'
);
$query->
setParameter( $key,
$condition->
getOrdernumbers(),
Connection::PARAM_STR_ARRAY
);
}}