PHP Class Neos\Flow\Mvc\Controller\MvcPropertyMappingConfiguration

Inheritance: extends Neos\Flow\Property\PropertyMappingConfiguration
Afficher le fichier Open project: neos/flow-development-collection

Méthodes publiques

Méthode Description
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.

Method Details

allowCreationForSubProperty() public méthode

Allow creation of a certain sub property
public allowCreationForSubProperty ( string $propertyPath ) : MvcPropertyMappingConfiguration
$propertyPath string
Résultat MvcPropertyMappingConfiguration this

allowModificationForSubProperty() public méthode

Allow modification for a given property path
public allowModificationForSubProperty ( string $propertyPath ) : MvcPropertyMappingConfiguration
$propertyPath string
Résultat MvcPropertyMappingConfiguration this

allowOverrideTargetType() public méthode

Allow override of the target type through a special "__type" parameter
public allowOverrideTargetType ( ) : MvcPropertyMappingConfiguration
Résultat MvcPropertyMappingConfiguration this

setTargetTypeForSubProperty() public méthode

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
Résultat MvcPropertyMappingConfiguration this