1 | <?php |
||
8 | class EzBoolean extends AbstractFieldHandler implements FieldValueImporterInterface |
||
9 | { |
||
10 | /** |
||
11 | * Creates a value object to use as the field value when setting a boolean field type. |
||
12 | * |
||
13 | * @param $fieldValue int:string:bool should all work |
||
14 | * @param array $context The context for execution of the current migrations. Contains f.e. the path to the migration |
||
15 | * @return CheckboxValue |
||
16 | */ |
||
17 | public function hashToFieldValue($fieldValue, array $context = array()) |
||
21 | } |
||
22 |