protected initializeCreateAction ( ) : void | ||
리턴 | void |
protected function initializeCreateAction()
{
$propertyMappingConfiguration = $this->arguments[$this->resourceArgumentName]->getPropertyMappingConfiguration();
$propertyMappingConfiguration->setTypeConverterOption(PersistentObjectConverter::class, PersistentObjectConverter::CONFIGURATION_CREATION_ALLOWED, true);
$propertyMappingConfiguration->allowAllProperties();
}