‪TYPO3CMS  ‪main
TYPO3\CMS\Extbase\Property\PropertyMappingConfigurationBuilder Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Property\PropertyMappingConfigurationBuilder:
TYPO3\CMS\Core\SingletonInterface

Public Member Functions

PropertyMappingConfiguration build ($type=PropertyMappingConfiguration::class)
 

Detailed Description

This builder creates the default configuration for Property Mapping, if no configuration has been passed to the Property Mapper.

only to be used within Extbase, not part of TYPO3 Core API.

Definition at line 27 of file PropertyMappingConfigurationBuilder.php.

Member Function Documentation

◆ build()

PropertyMappingConfiguration TYPO3\CMS\Extbase\Property\PropertyMappingConfigurationBuilder::build (   $type = PropertyMappingConfiguration::class)

Builds the default property mapping configuration.

Parameters
class-string<PropertyMappingConfiguration>‪$type the implementation class to instantiate
Returns
PropertyMappingConfiguration

Definition at line 35 of file PropertyMappingConfigurationBuilder.php.

References TYPO3\CMS\Extbase\Property\TypeConverter\PersistentObjectConverter\CONFIGURATION_CREATION_ALLOWED, and TYPO3\CMS\Extbase\Property\TypeConverter\PersistentObjectConverter\CONFIGURATION_MODIFICATION_ALLOWED.