Neos\Flow\Mvc\Controller\MvcPropertyMappingConfiguration::allowCreationForSubProperty PHP 메소드

allowCreationForSubProperty() 공개 메소드

Allow creation of a certain sub property
public allowCreationForSubProperty ( string $propertyPath ) : MvcPropertyMappingConfiguration
$propertyPath string
리턴 MvcPropertyMappingConfiguration this
    public function allowCreationForSubProperty($propertyPath)
    {
        $this->forProperty($propertyPath)->setTypeConverterOption(PersistentObjectConverter::class, PersistentObjectConverter::CONFIGURATION_CREATION_ALLOWED, true);
        return $this;
    }