if ($this->operator === self::OPERATOR_EMPTY
) { return $constraints;
} $constraints['identifiers'
] = RuleConstraints::
uuids();
return $constraints;
} public function getConfig(): RuleConfig
{ return (new RuleConfig()) ->
operatorSet(RuleConfig::OPERATOR_SET_STRING, true, true
) ->
entitySelectField('identifiers', TagDefinition::ENTITY_NAME, true
);
} /**
* @return list<string>
*/
private function extractTagIds(LineItem
$lineItem): array
{ if (!
$lineItem->
hasPayloadValue('tagIds'
)) { return [];
}