'This {{ value }} is not a valid condition type.',
['{{ value }}' =>
$type],
'/type',
'CONTENT__INVALID_RULE_TYPE_EXCEPTION'
);
$violationList->
add($violation);
$writeException->
add(new WriteConstraintViolationException($violationList,
$command->
getPath()));
return;
} $value =
$this->
getConditionValue($condition,
$payload);
// add violations when a property is not defined on the rule instance
$missingProperties =
array_filter( $value,
static fn (string
$key): bool => !
property_exists($ruleInstance,
$key),
\ARRAY_FILTER_USE_KEY
);
foreach (array_keys($missingProperties) as $missingProperty) { $violationList->
add( $this->
buildViolation(