ok
Direktori : /proc/self/root/home2/selectio/www/limpiar.in.net/vendor/doctrine/dbal/src/Types/ |
Current File : //proc/self/root/home2/selectio/www/limpiar.in.net/vendor/doctrine/dbal/src/Types/SmallIntType.php |
<?php namespace Doctrine\DBAL\Types; use Doctrine\DBAL\ParameterType; use Doctrine\DBAL\Platforms\AbstractPlatform; /** * Type that maps a database SMALLINT to a PHP integer. */ class SmallIntType extends Type implements PhpIntegerMappingType { /** * {@inheritdoc} */ public function getName() { return Types::SMALLINT; } /** * {@inheritdoc} */ public function getSQLDeclaration(array $column, AbstractPlatform $platform) { return $platform->getSmallIntTypeDeclarationSQL($column); } /** * {@inheritdoc} * * @param T $value * * @return (T is null ? null : int) * * @template T */ public function convertToPHPValue($value, AbstractPlatform $platform) { return $value === null ? null : (int) $value; } /** * {@inheritdoc} */ public function getBindingType() { return ParameterType::INTEGER; } }