public setTargetTypeForSubProperty ( string $propertyPath, string $targetType ) : |
||
$propertyPath | string | |
$targetType | string | |
return | this |
public function setTargetTypeForSubProperty($propertyPath, $targetType)
{
$this->forProperty($propertyPath)->setTypeConverterOption(PersistentObjectConverter::class, PersistentObjectConverter::CONFIGURATION_TARGET_TYPE, $targetType);
return $this;
}