Convert an object from $source to an entity or a value object.
public convertFrom ( mixed $source, string $targetType, array $convertedChildProperties = [], Neos\Flow\Property\PropertyMappingConfigurationInterface $configuration = null ) : object | Neos\Flow\Property\TypeConverter\Error\TargetNotFoundError | ||
$source | mixed | |
$targetType | string | |
$convertedChildProperties | array | |
$configuration | Neos\Flow\Property\PropertyMappingConfigurationInterface | |
return | object | Neos\Flow\Property\TypeConverter\Error\TargetNotFoundError | the converted entity/value object or an instance of TargetNotFoundError if the object could not be resolved |