private static function resolveTypeFromDoctrineType(string $doctrineType)
    {
        if (isset(self::$doctrineMapping[$doctrineType])) {
            return self::$doctrineMapping[$doctrineType];
        }

        switch ($doctrineType) {
            case 'integer':
            case 'smallint':
            case 'bigint':
                return 'Int';
                break;
            case 'string':
            case 'text':
                return 'String';
                break;
            case 'bool':
            case 'boolean':
                return 'Boolean';
                break;
            case 'float':
            case 'decimal':
                return 'Float';
                break;
            default:
                return false;
        }
    }