1 | <?php |
||
13 | class CheckboxFieldHandler implements CustomLegacyFieldHandlerInterface |
||
14 | { |
||
15 | /** |
||
16 | * {@inheritdoc} |
||
17 | */ |
||
18 | public function supports(Value $value): bool |
||
22 | |||
23 | /** |
||
24 | * {@inheritdoc} |
||
25 | */ |
||
26 | public function toString(Value $value, FieldDefinition $fieldDefinition): string |
||
30 | |||
31 | /** |
||
32 | * @param \eZ\Publish\Core\FieldType\Checkbox\Value $value |
||
33 | * |
||
34 | * @return \Netgen\InformationCollection\API\Value\Legacy\FieldValue |
||
35 | */ |
||
36 | public function getLegacyValue(Value $value, FieldDefinition $fieldDefinition): FieldValue |
||
40 | } |
||
41 |