lib/Core/Validator/CollectionValidator.php
public function validateQueryCreateStruct(QueryCreateStruct $queryCreateStruct): void
    {
        $this->validate(
            $queryCreateStruct,
            [
                new ParameterStruct(
                    [
                        'parameterDefinitions' => $queryCreateStruct->getQueryType(),
                    ]
                ),
            ],
            'parameterValues'
        );
    }
public function validateQueryCreateStruct(QueryCreateStruct $queryCreateStruct): void
    {
        $this->validate(
            $queryCreateStruct,
            [
                new ParameterStruct(
                    [
                        'parameterDefinitions' => $queryCreateStruct->getQueryType(),
                    ]
                ),
            ],
            'parameterValues'
        );
    }
public function validateQueryCreateStruct ( QueryCreateStruct $ queryCreateStruct ) : void { $ this -> validate ( $ queryCreateStruct , [ new ParameterStruct ( [ 'parameterDefinitions' => $ queryCreateStruct -> getQueryType ( ) , ] ) , ] , 'parameterValues' ) ; }
Validates the provided query create struct.

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