Neos\Flow\Property\TypeConverterInterface::getTargetTypeForSource PHP Method

getTargetTypeForSource() public method

Returns the type for a given source, depending on e.g. the __type setting or other properties.
public getTargetTypeForSource ( mixed $source, string $originalTargetType, Neos\Flow\Property\PropertyMappingConfigurationInterface $configuration = null ) : string
$source mixed the source data
$originalTargetType string the type we originally want to convert to
$configuration Neos\Flow\Property\PropertyMappingConfigurationInterface
return string
    public function getTargetTypeForSource($source, $originalTargetType, PropertyMappingConfigurationInterface $configuration = null);