Doctrine\DBAL\Platforms\DB2Platform::isCommentedDoctrineType PHP Метод

isCommentedDoctrineType() публичный Метод

public isCommentedDoctrineType ( Doctrine\DBAL\Types\Type $doctrineType )
$doctrineType Doctrine\DBAL\Types\Type
    public function isCommentedDoctrineType(Type $doctrineType)
    {
        if ($doctrineType->getName() === Type::BOOLEAN) {
            // We require a commented boolean type in order to distinguish between boolean and smallint
            // as both (have to) map to the same native type.
            return true;
        }
        return parent::isCommentedDoctrineType($doctrineType);
    }