public function match(RuleScope
$scope): bool
{ if (!
$scope instanceof CheckoutRuleScope
) { return false;
} if (!
$customer =
$scope->
getSalesChannelContext()->
getCustomer()) { return RuleComparison::
isNegativeOperator($this->operator
);
} return RuleComparison::
uuids($this->
extractTagIds($customer),
$this->identifiers,
$this->operator
);
} public function getConstraints(): array
{ $constraints =
[ 'operator' => RuleConstraints::
uuidOperators(),
];
if ($this->operator === self::OPERATOR_EMPTY
) { return $constraints;
}