Neos\Flow\Mvc\Controller\MvcPropertyMappingConfiguration::allowOverrideTargetType PHP Méthode

allowOverrideTargetType() public méthode

Allow override of the target type through a special "__type" parameter
public allowOverrideTargetType ( ) : MvcPropertyMappingConfiguration
Résultat MvcPropertyMappingConfiguration this
    public function allowOverrideTargetType()
    {
        $this->setTypeConverterOption(PersistentObjectConverter::class, PersistentObjectConverter::CONFIGURATION_OVERRIDE_TARGET_TYPE_ALLOWED, true);
        return $this;
    }