public function handle(ConditionInterface
$condition, QueryBuilder
$query): void
{ $this->
addCondition($condition,
$query);
} private function addCondition(NotRegisteredInShopCondition
$condition, QueryBuilder
$query): void
{ $query->
andWhere('customer.shop_id NOT IN (:NotRegisteredInShopCondition)'
);
$query->
setParameter(':NotRegisteredInShopCondition',
$condition->
getShopIds(), Connection::PARAM_INT_ARRAY
);
}}