File "BigIntType.php"

Full Path: /home/warrior1/public_html/plugins/mailpoet/vendor-prefixed/doctrine/dbal/lib/Doctrine/DBAL/Types/BigIntType.php
File size: 654 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
namespace MailPoetVendor\Doctrine\DBAL\Types;
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Doctrine\DBAL\ParameterType;
use MailPoetVendor\Doctrine\DBAL\Platforms\AbstractPlatform;
class BigIntType extends Type implements PhpIntegerMappingType
{
 public function getName()
 {
 return Types::BIGINT;
 }
 public function getSQLDeclaration(array $column, AbstractPlatform $platform)
 {
 return $platform->getBigIntTypeDeclarationSQL($column);
 }
 public function getBindingType()
 {
 return ParameterType::STRING;
 }
 public function convertToPHPValue($value, AbstractPlatform $platform)
 {
 return $value === null ? null : (string) $value;
 }
}