1 | <?php |
||
12 | class DefaultConverter implements ConverterInterface |
||
13 | { |
||
14 | /** |
||
15 | * @param FieldItemInterface $value |
||
16 | */ |
||
17 | public function convert(FieldItemInterface $value) |
||
21 | |||
22 | /** |
||
23 | * Returns whether the FieldItemInterface can be converted or not. |
||
24 | * |
||
25 | * @param FieldItemInterface $value |
||
26 | * |
||
27 | * @return bool |
||
28 | */ |
||
29 | public function canConvert(FieldItemInterface $value) : bool |
||
33 | } |
||
34 |