allowAllProperties() public method

Allow all properties in property mapping, even unknown ones.
public allowAllProperties ( ) : PropertyMappingConfiguration
return PropertyMappingConfiguration this
 /**
  * @test
  * @covers \Neos\Flow\Property\PropertyMappingConfiguration::shouldMap
  */
 public function shouldMapReturnsTrueIfConfigured()
 {
     $this->propertyMappingConfiguration->allowAllProperties();
     $this->assertTrue($this->propertyMappingConfiguration->shouldMap('someSourceProperty'));
     $this->assertTrue($this->propertyMappingConfiguration->shouldMap('someOtherSourceProperty'));
 }
 /**
  * Create a property mapping configuration for the given dataType to convert a Node property value from the given dataType to a simple type.
  *
  * @param string $dataType
  * @return PropertyMappingConfigurationInterface
  */
 protected function createConfiguration($dataType)
 {
     if (!isset($this->generatedPropertyMappingConfigurations[$dataType])) {
         $propertyMappingConfiguration = new PropertyMappingConfiguration();
         $propertyMappingConfiguration->allowAllProperties();
         $parsedType = ['elementType' => null, 'type' => $dataType];
         // Special handling for "reference(s)", should be deprecated and normlized to array<NodeInterface>
         if ($dataType !== 'references' && $dataType !== 'reference') {
             $parsedType = TypeHandling::parseType($dataType);
         }
         if ($this->setTypeConverterForType($propertyMappingConfiguration, $dataType) === false) {
             $this->setTypeConverterForType($propertyMappingConfiguration, $parsedType['type']);
         }
         $elementConfiguration = $propertyMappingConfiguration->forProperty('*');
         $this->setTypeConverterForType($elementConfiguration, $parsedType['elementType']);
         $this->generatedPropertyMappingConfigurations[$dataType] = $propertyMappingConfiguration;
     }
     return $this->generatedPropertyMappingConfigurations[$dataType];
 }