File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -84,12 +84,12 @@ object to read data off of the correct PHP superglobals (i.e. ``$_POST`` or
84
84
:class: `Symfony\\ Component\\ Form\\ Extension\\ HttpFoundation\\ HttpFoundationExtension `
85
85
to your form factory::
86
86
87
- use Symfony\C omponent\F orm\F orms;
88
- use Symfony\C omponent\F orm\E xtension\H ttpFoundation\H ttpFoundationExtension;
87
+ use Symfony\Component\Form\Forms;
88
+ use Symfony\Component\Form\Extension\HttpFoundation\HttpFoundationExtension;
89
89
90
- $formFactory = Forms::createFormFactoryBuilder()
91
- ->addExtension(new HttpFoundationExtension())
92
- ->getFormFactory();
90
+ $formFactory = Forms::createFormFactoryBuilder()
91
+ ->addExtension(new HttpFoundationExtension())
92
+ ->getFormFactory();
93
93
94
94
Now, when you process a form, you can pass the :class: `Symfony\\ Component\\ HttpFoundation\\ Request `
95
95
object to :method: `Symfony\\ Component\\ Form\\ Form::handleRequest `::
You can’t perform that action at this time.
0 commit comments