Total Complexity | 1 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
29 | class AimeosTypeConverter extends MediaTypeConverter implements MediaTypeConverterInterface |
||
30 | { |
||
31 | protected $priority = -2; |
||
32 | |||
33 | |||
34 | /** |
||
35 | * Convert the given $source to $targetType depending on the MediaTypeConverterInterface::CONFIGURATION_MEDIA_TYPE property mapping configuration |
||
36 | * |
||
37 | * @param string $source the raw request body |
||
38 | * @param string $targetType must be "array" |
||
39 | * @param array $convertedChildProperties |
||
40 | * @param PropertyMappingConfigurationInterface $configuration |
||
41 | * @return array |
||
42 | * @api |
||
43 | */ |
||
44 | public function convertFrom($source, $targetType, array $convertedChildProperties = array(), PropertyMappingConfigurationInterface $configuration = NULL) |
||
53 |