lib/Core/Validator/LayoutResolverValidator.php
public function validateConditionUpdateStruct(Condition $condition, ConditionUpdateStruct $conditionUpdateStruct): void
    {
        $conditionType = $condition->getConditionType();

        $this->validate(
            $conditionUpdateStruct->value,
            $conditionType->getConstraints(),
            'value'
        );
    }
public function validateConditionUpdateStruct(Condition $condition, ConditionUpdateStruct $conditionUpdateStruct): void
    {
        $conditionType = $condition->getConditionType();

        $this->validate(
            $conditionUpdateStruct->value,
            $conditionType->getConstraints(),
            'value'
        );
    }
public function validateConditionUpdateStruct ( Condition $ condition , ConditionUpdateStruct $ conditionUpdateStruct ) : void { $ conditionType = $ condition -> getConditionType ( ) ; $ this -> validate ( $ conditionUpdateStruct -> value , $ conditionType -> getConstraints ( ) , 'value' ) ; }
Validates the provided condition update struct.

@throws \Netgen\BlockManager\Exception\Validation\ValidationException If the validation failed
Validates the provided condition update struct .