Skip to content

Commit febdd78

Browse files
committed
minor #19853 [Twig] deprecate the base_template_class option (xabbuh)
This PR was merged into the 7.1 branch. Discussion ---------- [Twig] deprecate the base_template_class option fixes #19852 Commits ------- 90c5f4f deprecate the base_template_class option
2 parents b1e95f0 + 90c5f4f commit febdd78

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

reference/configuration/twig.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ base_template_class
6262

6363
**type**: ``string`` **default**: ``Twig\Template``
6464

65+
.. deprecated:: 7.1
66+
67+
The ``base_template_class`` option is deprecated since Symfony 7.1.
68+
6569
Twig templates are compiled into PHP classes before using them to render
6670
contents. This option defines the base class from which all the template classes
6771
extend. Using a custom base template is discouraged because it will make your

0 commit comments

Comments
 (0)