lib/Doctrine/DBAL/Schema/AbstractSchemaManager.php
public function extractDoctrineTypeFromComment($comment, $currentType)
    {
        if ($comment !== null && preg_match('(\(DC2Type:(((?!\)).)+)\))', $comment, $match)) {
            return $match[1];
        }

        return $currentType;
    }
public function extractDoctrineTypeFromComment($comment, $currentType)
    {
        if ($comment !== null && preg_match('(\(DC2Type:(((?!\)).)+)\))', $comment, $match)) {
            return $match[1];
        }

        return $currentType;
    }
public function extractDoctrineTypeFromComment ( $ comment , $ currentType ) { if ( $ comment !== null && preg_match ( '(\(DC2Type:(((?!\)).)+)\))' , $ comment , $ match ) ) { return $ match [ 1 ] ; } return $ currentType ; }
Given a table comment this method tries to extract a typehint for Doctrine Type, or returns
the type given as default.

@param string|null $comment
@param string      $currentType

@return string
Given a table comment this method tries to extract a typehint for Doctrine Type or returns the type given as default .