File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -410,6 +410,14 @@ TwigBridge
410
410
411
411
* deprecated the `Symfony\Bridge\Twig\Form\TwigRenderer` class, use the `FormRenderer`
412
412
class from the Form component instead
413
+
414
+ * the service `twig.form.renderer` is now an instance of `FormRenderer`.
415
+ So you might have to adjust your type-hints to `FormRendererInterface` if you are still relying on
416
+ the `TwigRendererInterface` which was deprecated in Symfony 3.2
417
+
418
+ * retrieving the Renderer runtime from the twig environment via
419
+ ` $twig->getRuntime('Symfony\B ridge\T wig\F orm\T wigRenderer')` is not working anymore
420
+ and should be replaced with `$twig->getRuntime('Symfony\Component\Form\FormRenderer')` instead
413
421
414
422
* deprecated `Symfony\Bridge\Twig\Command\DebugCommand::set/getTwigEnvironment` and the ability
415
423
to pass a command name as first argument
You can’t perform that action at this time.
0 commit comments