Path : /var/www/clients/client0/web25/web/vendor/doctrine/dbal/src/Types/ |
B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H |
Current File : /var/www/clients/client0/web25/web/vendor/doctrine/dbal/src/Types/IntegerType.php |
<?php namespace Doctrine\DBAL\Types; use Doctrine\DBAL\ParameterType; use Doctrine\DBAL\Platforms\AbstractPlatform; /** * Type that maps an SQL INT to a PHP integer. */ class IntegerType extends Type implements PhpIntegerMappingType { /** * {@inheritdoc} */ public function getName() { return Types::INTEGER; } /** * {@inheritdoc} */ public function getSQLDeclaration(array $column, AbstractPlatform $platform) { return $platform->getIntegerTypeDeclarationSQL($column); } /** * {@inheritdoc} */ public function convertToPHPValue($value, AbstractPlatform $platform) { return $value === null ? null : (int) $value; } /** * {@inheritdoc} */ public function getBindingType() { return ParameterType::INTEGER; } }