ImportExportPropertyMappingConfiguration
class ImportExportPropertyMappingConfiguration implements PropertyMappingConfigurationInterface (View source)
Property mapping configuration which is used for import / export:
- works for all levels of the PropertyMapping (recursively)
- sets the correct export and import configuration for the type converters
Properties
protected string | $resourceLoadSavePath |
Methods
No description
The sub-configuration to be used is the current one.
No description
No description
Check if the given $propertyName should be skipped during mapping.
Whether unknown (unconfigured) properties should be skipped during mapping, instead if causing an error.
Maps the given $sourcePropertyName to a target property name.
This method can be used to explicitely force a TypeConverter to be used for this Configuration.
Details
__construct($resourceLoadSavePath)
No description
PropertyMappingConfigurationInterface
getConfigurationFor(string $propertyName)
The sub-configuration to be used is the current one.
mixed
getConfigurationValue(string $typeConverterClassName, string $key)
No description
bool
shouldMap(string $propertyName)
No description
bool
shouldSkip(string $propertyName)
Check if the given $propertyName should be skipped during mapping.
bool
shouldSkipUnknownProperties()
Whether unknown (unconfigured) properties should be skipped during mapping, instead if causing an error.
string
getTargetPropertyName(string $sourcePropertyName)
Maps the given $sourcePropertyName to a target property name.
Can be used to rename properties from source to target.
TypeConverterInterface
getTypeConverter()
This method can be used to explicitely force a TypeConverter to be used for this Configuration.