Total Complexity | 4 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
11 | class EzCountry extends AbstractFieldHandler implements FieldValueImporterInterface |
||
12 | { |
||
13 | private $contentTypeService; |
||
14 | |||
15 | private $fieldTypeService; |
||
16 | |||
17 | public function __construct(ContentTypeService $contentTypeService, FieldTypeService $fieldTypeService) |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * Creates a value object to use as the field value when setting a country field type. |
||
25 | * |
||
26 | * @param $fieldValue string|string[] should work |
||
27 | * @param array $context The context for execution of the current migrations. $hashValueContains f.e. the path to the migration |
||
28 | * @return CountryValue |
||
29 | */ |
||
30 | public function hashToFieldValue($fieldValue, array $context = array()) |
||
47 |