private ResolvedFormTypeFactoryInterface
$proxiedFactory;
private FormDataCollectorInterface
$dataCollector;
public function __construct(ResolvedFormTypeFactoryInterface
$proxiedFactory, FormDataCollectorInterface
$dataCollector) { $this->proxiedFactory =
$proxiedFactory;
$this->dataCollector =
$dataCollector;
} public function createResolvedType(FormTypeInterface
$type, array
$typeExtensions, ResolvedFormTypeInterface
$parent = null
): ResolvedFormTypeInterface
{ return new ResolvedTypeDataCollectorProxy( $this->proxiedFactory->
createResolvedType($type,
$typeExtensions,
$parent),
$this->dataCollector
);
}}