private function getFieldType(string $typeName, string $fieldName, array $operators): InputObjectType
    {
        $fieldType = new InputObjectType([
            'name' => $typeName . ucfirst($fieldName),
            'description' => 'Type to specify a condition on a specific field',
            'fields' => $this->getOperatorConfiguration($operators),
        ]);

        $this->types->registerInstance($fieldType);

        return $fieldType;
    }
private function getFieldType(string $typeName, string $fieldName, array $operators): InputObjectType
    {
        $fieldType = new InputObjectType([
            'name' => $typeName . ucfirst($fieldName),
            'description' => 'Type to specify a condition on a specific field',
            'fields' => $this->getOperatorConfiguration($operators),
        ]);

        $this->types->registerInstance($fieldType);

        return $fieldType;
    }
private function getFieldType ( string $ typeName , string $ fieldName , array $ operators ) : InputObjectType { $ fieldType = new InputObjectType ( [ 'name' => $ typeName . ucfirst ( $ fieldName ) , 'description' => 'Type to specify a condition on a specific field' , 'fields' => $ this -> getOperatorConfiguration ( $ operators ) , ] ) ; $ this -> types -> registerInstance ( $ fieldType ) ; return $ fieldType ; }
Get the type for a specific field

@param string $typeName
@param string $fieldName
@param LeafType[] $operators

@return InputObjectType
Get the type for a specific field