PHP Класс Neos\Flow\Mvc\Controller\MvcPropertyMappingConfiguration

Наследование: extends Neos\Flow\Property\PropertyMappingConfiguration
Показать файл Открыть проект

Открытые методы

Метод Описание
allowCreationForSubProperty ( string $propertyPath ) : MvcPropertyMappingConfiguration Allow creation of a certain sub property
allowModificationForSubProperty ( string $propertyPath ) : MvcPropertyMappingConfiguration Allow modification for a given property path
allowOverrideTargetType ( ) : MvcPropertyMappingConfiguration Allow override of the target type through a special "__type" parameter
setTargetTypeForSubProperty ( string $propertyPath, string $targetType ) : MvcPropertyMappingConfiguration Set the target type for a certain property. Especially useful if there is an object which has a nested object which is abstract, and you want to instantiate a concrete object instead.

Описание методов

allowCreationForSubProperty() публичный Метод

Allow creation of a certain sub property
public allowCreationForSubProperty ( string $propertyPath ) : MvcPropertyMappingConfiguration
$propertyPath string
Результат MvcPropertyMappingConfiguration this

allowModificationForSubProperty() публичный Метод

Allow modification for a given property path
public allowModificationForSubProperty ( string $propertyPath ) : MvcPropertyMappingConfiguration
$propertyPath string
Результат MvcPropertyMappingConfiguration this

allowOverrideTargetType() публичный Метод

Allow override of the target type through a special "__type" parameter
public allowOverrideTargetType ( ) : MvcPropertyMappingConfiguration
Результат MvcPropertyMappingConfiguration this

setTargetTypeForSubProperty() публичный Метод

Set the target type for a certain property. Especially useful if there is an object which has a nested object which is abstract, and you want to instantiate a concrete object instead.
public setTargetTypeForSubProperty ( string $propertyPath, string $targetType ) : MvcPropertyMappingConfiguration
$propertyPath string
$targetType string
Результат MvcPropertyMappingConfiguration this