ok
Direktori : /home2/selectio/www/limpiar.in.net/updates/vendor/doctrine/dbal/src/Types/ |
Current File : //home2/selectio/www/limpiar.in.net/updates/vendor/doctrine/dbal/src/Types/GuidType.php |
<?php namespace Doctrine\DBAL\Types; use Doctrine\DBAL\Platforms\AbstractPlatform; use Doctrine\Deprecations\Deprecation; /** * Represents a GUID/UUID datatype (both are actually synonyms) in the database. */ class GuidType extends StringType { /** * {@inheritdoc} */ public function getSQLDeclaration(array $column, AbstractPlatform $platform) { return $platform->getGuidTypeDeclarationSQL($column); } /** * {@inheritdoc} */ public function getName() { return Types::GUID; } /** * {@inheritdoc} * * @deprecated */ public function requiresSQLCommentHint(AbstractPlatform $platform) { Deprecation::triggerIfCalledFromOutside( 'doctrine/dbal', 'https://github.com/doctrine/dbal/pull/5509', '%s is deprecated.', __METHOD__, ); return ! $platform->hasNativeGuidType(); } }