File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ These are the most important methods that a form type class can define:
148148``finishView() ``
149149 When creating a form type that consists of many fields, this method allows
150150 to modify the "view" of any of those fields. For any other use case, it's
151- recommended to use instead the ``buildView() `` method .
151+ recommended to use ``buildView() `` instead .
152152
153153``getParent() ``
154154 If your custom type is based on another type (i.e. they share some
@@ -471,6 +471,8 @@ defined by the form or be completely independent::
471471 namespace App\Form\Type;
472472
473473 use Doctrine\ORM\EntityManagerInterface;
474+ use Symfony\Component\Form\FormInterface;
475+ use Symfony\Component\Form\FormView;
474476 // ...
475477
476478 class PostalAddressType extends AbstractType
You can’t perform that action at this time.
0 commit comments