PATH:
home
/
lab2454c
/
vaultchip.com
/
vendor
/
doctrine
/
dbal
/
src
/
Types
<?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; } }
[-] TimeType.php
[edit]
[-] TimeImmutableType.php
[edit]
[-] DateTimeTzType.php
[edit]
[-] DateTimeType.php
[edit]
[-] PhpDateTimeMappingType.php
[edit]
[-] Types.php
[edit]
[-] ConversionException.php
[edit]
[-] ArrayType.php
[edit]
[+]
..
[-] GuidType.php
[edit]
[-] FloatType.php
[edit]
[-] TypeRegistry.php
[edit]
[-] Type.php
[edit]
[-] DateImmutableType.php
[edit]
[-] StringType.php
[edit]
[-] BooleanType.php
[edit]
[-] BigIntType.php
[edit]
[-] DateTimeImmutableType.php
[edit]
[-] DateTimeTzImmutableType.php
[edit]
[-] PhpIntegerMappingType.php
[edit]
[-] BlobType.php
[edit]
[-] SmallIntType.php
[edit]
[-] ObjectType.php
[edit]
[-] DecimalType.php
[edit]
[-] TextType.php
[edit]
[-] AsciiStringType.php
[edit]
[-] BinaryType.php
[edit]
[-] SimpleArrayType.php
[edit]
[-] IntegerType.php
[edit]
[-] VarDateTimeImmutableType.php
[edit]
[-] VarDateTimeType.php
[edit]
[-] JsonType.php
[edit]
[-] DateType.php
[edit]
[-] DateIntervalType.php
[edit]