[Flow] Uniform Converting Behaviou (at least for simple types)
Carsten Bleicker
carsten at bleicker.de
Sat Dec 13 18:55:31 CET 2014
Sorry, something was missing:
public final function convertFrom($source, $targetType, array $convertedChildProperties = array(), \TYPO3\Flow\Property\PropertyMappingConfigurationInterface $configuration = NULL){
if($source === NULL){
return NULL;
}else{
return $this->convertFromImplementation($source, $targetType, $convertedChildProperties);
}
}
----------------------
Carsten Bleicker
Wülfingstraße 1
42477 Radevormwald
E-Mail: carsten at bleicker.de
Web: www.bleicker.de
Twitter: @carstenbleicker
Jabber: cbleicker at jabber.ccc.de
Telefon: +49 (0)171-2690845
Am 13.12.2014 um 18:42 schrieb Carsten Bleicker <carsten at bleicker.de>:
> \TYPO3\Flow\Property\PropertyMappingConfigurationInterface $configuration = NULL){
> if($source === NULL){
> return NULL;
> }else{
> return $this->
> }
>
> }
>
> abstract protected function convertFromImplementation
More information about the Flow
mailing list