private function collectDqlConditions(ClassMetadata $metadata, array $allConditions, InputObjectType $typeFields, string $alias): void
    {
        foreach ($allConditions as $conditions) {
            foreach ($conditions as $field => $operators) {
                if ($operators === null) {
                    continue;
                }

                /** @var InputObjectType $typeField */
                $typeField = $typeFields->getField($field)->type;

                foreach ($operators as $operatorName => $operatorArgs) {
                    $operatorField = $typeField->getField($operatorName);

                    /** @var AbstractOperator $operatorType */
                    $operatorType = $operatorField->type;

                    $dqlCondition = $operatorType->getDqlCondition($this->uniqueNameFactory, $metadata, $this->queryBuilder, $alias, $field, $operatorArgs);
                    if ($dqlCondition) {
                        $this->dqlConditions[] = $dqlCondition;
                    }
                }
            }
        }
    }
private function collectDqlConditions(ClassMetadata $metadata, array $allConditions, InputObjectType $typeFields, string $alias): void
    {
        foreach ($allConditions as $conditions) {
            foreach ($conditions as $field => $operators) {
                if ($operators === null) {
                    continue;
                }

                /** @var InputObjectType $typeField */
                $typeField = $typeFields->getField($field)->type;

                foreach ($operators as $operatorName => $operatorArgs) {
                    $operatorField = $typeField->getField($operatorName);

                    /** @var AbstractOperator $operatorType */
                    $operatorType = $operatorField->type;

                    $dqlCondition = $operatorType->getDqlCondition($this->uniqueNameFactory, $metadata, $this->queryBuilder, $alias, $field, $operatorArgs);
                    if ($dqlCondition) {
                        $this->dqlConditions[] = $dqlCondition;
                    }
                }
            }
        }
    }
private function collectDqlConditions ( ClassMetadata $ metadata , array $ allConditions , InputObjectType $ typeFields , string $ alias ) : void { foreach ( $ allConditions as $ conditions ) { foreach ( $ conditions as $ field => $ operators ) { if ( $ operators === null ) { continue ; } /** @var InputObjectType $typeField */ $ typeField = $ typeFields -> getField ( $ field ) -> type ; foreach ( $ operators as $ operatorName => $ operatorArgs ) { $ operatorField = $ typeField -> getField ( $ operatorName ) ; /** @var AbstractOperator $operatorType */ $ operatorType = $ operatorField -> type ; $ dqlCondition = $ operatorType -> getDqlCondition ( $ this -> uniqueNameFactory , $ metadata , $ this -> queryBuilder , $ alias , $ field , $ operatorArgs ) ; if ( $ dqlCondition ) { $ this -> dqlConditions [ ] = $ dqlCondition ; } } } } }
Gather all DQL conditions for the given array of fields

@param ClassMetadata $metadata
@param array $allConditions
@param InputObjectType $typeFields
@param string $alias
Gather all DQL conditions for the given array of fields