1 | <?php |
||
20 | final class ProductIdType extends Type |
||
21 | { |
||
22 | const NAME = 'ProductId'; |
||
23 | |||
24 | public function getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform): string |
||
28 | |||
29 | public function requiresSQLCommentHint(AbstractPlatform $platform): bool |
||
33 | |||
34 | /** |
||
35 | * @param mixed $value |
||
36 | */ |
||
37 | public function convertToPHPValue($value, AbstractPlatform $platform): ?ProductId |
||
49 | |||
50 | /** |
||
51 | * @param mixed $value |
||
52 | */ |
||
53 | public function convertToDatabaseValue($value, AbstractPlatform $platform): ?int |
||
59 | |||
60 | public function getName(): string |
||
64 | } |
||
65 |