// Since the CSRF token is only present in the FormView tree, we also
// need to check the FormView tree instead of calling isRoot() on the
// FormInterface tree
if (null ===
$view->parent
) { $this->dataCollector->
collectViewVariables($view);
// Re-assemble data, in case FormView instances were added, for
// which no FormInterface instances were present (e.g. CSRF token).
// Since finishView() is called after finishing the views of all
// children, we can safely assume that information has been
// collected about the complete form tree.
$this->dataCollector->
buildFinalFormTree($form,
$view);
} } public function getOptionsResolver(): OptionsResolver
{ return $this->proxiedType->
getOptionsResolver();
}}