TYPO3
7.6
|
Protected Attributes | |
$sourceTypes = array('string', 'array') | |
$targetType = \TYPO3\CMS\Extbase\Persistence\ObjectStorage::class | |
$priority = 1 | |
Protected Attributes inherited from AbstractTypeConverter | |
$sourceTypes = array() | |
$targetType = '' | |
$priority | |
$objectManager | |
Converter which transforms simple types to an ObjectStorage.
Definition at line 30 of file ObjectStorageConverter.php.
convertFrom | ( | $source, | |
$targetType, | |||
array | $convertedChildProperties = array() , |
||
\TYPO3\CMS\Extbase\Property\PropertyMappingConfigurationInterface | $configuration = null |
||
) |
Actually convert from $source to $targetType, taking into account the fully built $convertedChildProperties and $configuration.
mixed | $source | |
string | $targetType | |
array | $convertedChildProperties | |
\TYPO3\CMS\Extbase\Property\PropertyMappingConfigurationInterface | $configuration |
Implements TypeConverterInterface.
Definition at line 58 of file ObjectStorageConverter.php.
getSourceChildPropertiesToBeConverted | ( | $source | ) |
Returns the source, if it is an array, otherwise an empty array.
mixed | $source |
Implements TypeConverterInterface.
Definition at line 74 of file ObjectStorageConverter.php.
getTypeOfChildProperty | ( | $targetType, | |
$propertyName, | |||
\TYPO3\CMS\Extbase\Property\PropertyMappingConfigurationInterface | $configuration | ||
) |
Return the type of a given sub-property inside the $targetType
string | $targetType | |
string | $propertyName | |
\TYPO3\CMS\Extbase\Property\PropertyMappingConfigurationInterface | $configuration |
Implements TypeConverterInterface.
Definition at line 91 of file ObjectStorageConverter.php.
References ObjectStorageConverter\$targetType.
|
protected |
Definition at line 45 of file ObjectStorageConverter.php.
|
protected |
Definition at line 35 of file ObjectStorageConverter.php.
|
protected |
Definition at line 40 of file ObjectStorageConverter.php.
Referenced by ObjectStorageConverter\getTypeOfChildProperty().