Converts $source to a \DateTime using the configured dateFormat
public convertFrom ( string | integer | array $source, string $targetType, array $convertedChildProperties = [], Neos\Flow\Property\PropertyMappingConfigurationInterface $configuration = null ) : DateTime | |
||
$source | string | integer | array | the string to be converted to a \DateTime object |
$targetType | string | must be "DateTime" |
$convertedChildProperties | array | not used currently |
$configuration | Neos\Flow\Property\PropertyMappingConfigurationInterface | |
return | DateTime | |