Skip to content

Commit 90c5f4f

Browse files
committed
deprecate the base_template_class option
1 parent b1e95f0 commit 90c5f4f

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)