Exemplo n.º 1
0
 /**
  * Finishes a form view for the type hierarchy.
  *
  * This method is called after the children of the view have been built.
  *
  * @param FormView      $view    The form view to configure.
  * @param FormInterface $form    The form corresponding to the view.
  * @param array         $options The options used for the configuration.
  */
 public function finishView(FormView $view, FormInterface $form, array $options)
 {
     if (null !== $this->parent) {
         $this->parent->finishView($view, $form, $options);
     }
     $this->innerType->finishView($view, $form, $options);
     foreach ($this->typeExtensions as $extension) {
         /* @var FormTypeExtensionInterface $extension */
         $extension->finishView($view, $form, $options);
     }
 }