프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$priority | integer | ||
$sourceTypes | array |
||
$targetType | string |
메소드 | 설명 | |
---|---|---|
canConvertFrom ( mixed $source, string $targetType ) : boolean | ||
convertFrom ( array $source, string $targetType, array $convertedChildProperties = [], Neos\Flow\Property\PropertyMappingConfigurationInterface $configuration = null ) : array | ||
getSourceChildPropertiesToBeConverted ( mixed $source ) : array | Returns the source, if it is an array, otherwise an empty array. | |
getTypeOfChildProperty ( string $targetType, string $propertyName, Neos\Flow\Property\PropertyMappingConfigurationInterface $configuration ) : string | Return the type of a given sub-property inside the $targetType |
public convertFrom ( array $source, string $targetType, array $convertedChildProperties = [], Neos\Flow\Property\PropertyMappingConfigurationInterface $configuration = null ) : array | ||
$source | array | An array of objects/simple types |
$targetType | string | |
$convertedChildProperties | array | |
$configuration | Neos\Flow\Property\PropertyMappingConfigurationInterface | |
리턴 | array |
public getSourceChildPropertiesToBeConverted ( mixed $source ) : array | ||
$source | mixed | |
리턴 | array |