lib/Core/Validator/CollectionValidator.php
public function validateQueryUpdateStruct(Query $query, QueryUpdateStruct $queryUpdateStruct): void
    {
        $this->validate(
            $queryUpdateStruct,
            [
                new QueryUpdateStructConstraint(
                    [
                        'payload' => $query,
                    ]
                ),
            ]
        );
    }
public function validateQueryUpdateStruct(Query $query, QueryUpdateStruct $queryUpdateStruct): void
    {
        $this->validate(
            $queryUpdateStruct,
            [
                new QueryUpdateStructConstraint(
                    [
                        'payload' => $query,
                    ]
                ),
            ]
        );
    }
public function validateQueryUpdateStruct ( Query $ query , QueryUpdateStruct $ queryUpdateStruct ) : void { $ this -> validate ( $ queryUpdateStruct , [ new QueryUpdateStructConstraint ( [ 'payload' => $ query , ] ) , ] ) ; }
Validates the provided query update struct.

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