PHP 클래스 Ramsey\Uuid\Doctrine\UuidType

UUID fields will be stored as a string in the database and converted back to the Uuid value object when querying.
상속: extends Doctrine\DBAL\Types\Type
파일 보기 프로젝트 열기: ramsey/uuid-doctrine

공개 메소드들

메소드 설명
convertToDatabaseValue ( Ramsey\Uuid\Uuid | null $value, Doctrine\DBAL\Platforms\AbstractPlatform $platform )
convertToPHPValue ( string | null $value, Doctrine\DBAL\Platforms\AbstractPlatform $platform )
getName ( ) : string
getSQLDeclaration ( array $fieldDeclaration, Doctrine\DBAL\Platforms\AbstractPlatform $platform )
requiresSQLCommentHint ( Doctrine\DBAL\Platforms\AbstractPlatform $platform ) : boolean

메소드 상세

convertToDatabaseValue() 공개 메소드

public convertToDatabaseValue ( Ramsey\Uuid\Uuid | null $value, Doctrine\DBAL\Platforms\AbstractPlatform $platform )
$value Ramsey\Uuid\Uuid | null
$platform Doctrine\DBAL\Platforms\AbstractPlatform

convertToPHPValue() 공개 메소드

public convertToPHPValue ( string | null $value, Doctrine\DBAL\Platforms\AbstractPlatform $platform )
$value string | null
$platform Doctrine\DBAL\Platforms\AbstractPlatform

getName() 공개 메소드

public getName ( ) : string
리턴 string

getSQLDeclaration() 공개 메소드

public getSQLDeclaration ( array $fieldDeclaration, Doctrine\DBAL\Platforms\AbstractPlatform $platform )
$fieldDeclaration array
$platform Doctrine\DBAL\Platforms\AbstractPlatform

requiresSQLCommentHint() 공개 메소드

public requiresSQLCommentHint ( Doctrine\DBAL\Platforms\AbstractPlatform $platform ) : boolean
$platform Doctrine\DBAL\Platforms\AbstractPlatform
리턴 boolean