Property | Type | Description | |
---|---|---|---|
$priority | integer | This converter is not used automatically | |
$sourceTypes | string | ||
$targetType | string |
Method | Description | |
---|---|---|
convertFrom ( string $source, string $targetType, array $convertedChildProperties = [], Neos\Flow\Property\PropertyMappingConfigurationInterface $configuration = null ) : array | Convert the given $source to $targetType depending on the MediaTypeConverterInterface::CONFIGURATION_MEDIA_TYPE property mapping configuration |
Method | Description | |
---|---|---|
convertMediaType ( string $requestBody, string $mediaType ) : array | Converts the given request body according to the specified media type Override this method in your custom TypeConverter to support additional media types |
public convertFrom ( string $source, string $targetType, array $convertedChildProperties = [], Neos\Flow\Property\PropertyMappingConfigurationInterface $configuration = null ) : array | ||
$source | string | the raw request body |
$targetType | string | must be "array" |
$convertedChildProperties | array | |
$configuration | Neos\Flow\Property\PropertyMappingConfigurationInterface | |
return | array |
protected int $priority | ||
return | integer |