PHP Class Neos\Flow\Mvc\Controller\MvcPropertyMappingConfiguration

Inheritance: extends Neos\Flow\Property\PropertyMappingConfiguration
Show file Open project: neos/flow-development-collection

Public Methods

Method 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 method

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

allowModificationForSubProperty() public method

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

allowOverrideTargetType() public method

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

setTargetTypeForSubProperty() public method

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
return MvcPropertyMappingConfiguration this