We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2038123 commit 500dce5Copy full SHA for 500dce5
components/form/introduction.rst
@@ -202,9 +202,12 @@ to bootstrap or access Twig and add the :class:`Symfony\\Bridge\\Twig\\Extension
202
)));
203
$formEngine = new TwigRendererEngine(array($defaultFormTheme));
204
$formEngine->setEnvironment($twig);
205
+
206
+ // ... (see the previous CSRF Protection section for more information)
207
208
// add the FormExtension to Twig
209
$twig->addExtension(
- new FormExtension(new TwigRenderer($formEngine, $csrfProvider))
210
+ new FormExtension(new TwigRenderer($formEngine, $csrfManager))
211
);
212
213
// create your form factory as normal
0 commit comments