Neos\Neos\Service\Mapping\NodePropertyConverterService::setTypeConverterOptionsForType PHP Method

setTypeConverterOptionsForType() protected method

protected setTypeConverterOptionsForType ( PropertyMappingConfiguration $propertyMappingConfiguration, string $typeConverterClass, string $dataType ) : void
$propertyMappingConfiguration Neos\Flow\Property\PropertyMappingConfiguration
$typeConverterClass string
$dataType string
return void
    protected function setTypeConverterOptionsForType(PropertyMappingConfiguration $propertyMappingConfiguration, $typeConverterClass, $dataType)
    {
        if (!isset($this->typesConfiguration[$dataType]['typeConverterOptions']) || !is_array($this->typesConfiguration[$dataType]['typeConverterOptions'])) {
            return;
        }
        foreach ($this->typesConfiguration[$dataType]['typeConverterOptions'] as $option => $value) {
            $propertyMappingConfiguration->setTypeConverterOption($typeConverterClass, $option, $value);
        }
    }