1 | <?php |
||
11 | class NotificationIdType extends Type |
||
12 | { |
||
13 | /** |
||
14 | * {@inheritdoc} |
||
15 | */ |
||
16 | 2 | public function convertToDatabaseValue($value, AbstractPlatform $platform = null) |
|
26 | |||
27 | /** |
||
28 | * {@inheritdoc} |
||
29 | */ |
||
30 | 4 | public function convertToPHPValue($value, AbstractPlatform $platform = null) |
|
34 | |||
35 | /** |
||
36 | * {@inheritdoc} |
||
37 | */ |
||
38 | 3 | public function getName() |
|
42 | |||
43 | /** |
||
44 | * Gets the SQL declaration snippet for a field of this type. |
||
45 | * |
||
46 | * @param array $fieldDeclaration The field declaration. |
||
47 | * @param \Doctrine\DBAL\Platforms\AbstractPlatform $platform The currently used database platform. |
||
48 | * |
||
49 | * @return string |
||
50 | */ |
||
51 | 3 | public function getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform) |
|
55 | } |
||
56 |