public function buildPropertyMappingConfiguration($type = PropertyMappingConfiguration::class)
    {
        /** @var PropertyMappingConfiguration $configuration */
        $configuration = new $type();

        $configuration->setTypeConverterOptions(TypeConverter\PersistentObjectConverter::class, [
            TypeConverter\PersistentObjectConverter::CONFIGURATION_CREATION_ALLOWED => true,
            TypeConverter\PersistentObjectConverter::CONFIGURATION_MODIFICATION_ALLOWED => true
        ]);
        $configuration->allowAllProperties();

        return $configuration;
    }
public function buildPropertyMappingConfiguration($type = PropertyMappingConfiguration::class)
    {
        /** @var PropertyMappingConfiguration $configuration */
        $configuration = new $type();

        $configuration->setTypeConverterOptions(TypeConverter\PersistentObjectConverter::class, [
            TypeConverter\PersistentObjectConverter::CONFIGURATION_CREATION_ALLOWED => true,
            TypeConverter\PersistentObjectConverter::CONFIGURATION_MODIFICATION_ALLOWED => true
        ]);
        $configuration->allowAllProperties();

        return $configuration;
    }
public function buildPropertyMappingConfiguration ( $ type = PropertyMappingConfiguration :: class ) { /** @var PropertyMappingConfiguration $configuration */ $ configuration = new $ type ( ) ; $ configuration -> setTypeConverterOptions ( TypeConverter \ PersistentObjectConverter :: class , [ TypeConverter \ PersistentObjectConverter :: CONFIGURATION_CREATION_ALLOWED => true , TypeConverter \ PersistentObjectConverter :: CONFIGURATION_MODIFICATION_ALLOWED => true ] ) ; $ configuration -> allowAllProperties ( ) ; return $ configuration ; }
Builds the default property mapping configuration.

@param string $type the implementation class name of the PropertyMappingConfiguration to instantiate; must be a subclass of Neos\Flow\Property\PropertyMappingConfiguration
@return PropertyMappingConfiguration
Builds the default property mapping configuration .