| Total Complexity | 8 |
| Total Lines | 62 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | class ObjectType extends Type |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * {@inheritdoc} |
||
| 21 | 462 | */ |
|
| 22 | public function getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform) |
||
| 23 | 462 | { |
|
| 24 | return $platform->getBlobTypeDeclarationSQL($fieldDeclaration); |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * {@inheritdoc} |
||
| 29 | 46 | */ |
|
| 30 | public function convertToDatabaseValue($value, AbstractPlatform $platform) |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritdoc} |
||
| 37 | 115 | */ |
|
| 38 | public function convertToPHPValue($value, AbstractPlatform $platform) |
||
| 54 | } |
||
| 55 | } |
||
| 56 | |||
| 57 | /** |
||
| 58 | * {@inheritdoc} |
||
| 59 | 761 | */ |
|
| 60 | public function getBindingType() : int |
||
| 61 | 761 | { |
|
| 62 | return ParameterType::BINARY; |
||
| 63 | } |
||
| 64 | |||
| 65 | /** |
||
| 66 | * {@inheritdoc} |
||
| 67 | 14094 | */ |
|
| 68 | public function getName() |
||
| 71 | } |
||
| 72 | |||
| 73 | /** |
||
| 74 | * {@inheritdoc} |
||
| 75 | */ |
||
| 76 | public function requiresSQLCommentHint(AbstractPlatform $platform) |
||
| 81 |