File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -51,11 +51,12 @@ As an example you'll create a price filter to format a given number into price::
5151 }
5252 }
5353
54- .. note ::
54+ .. note ::.. note ::
5555
56- Prior to Twig 1.26, your extension had to provide an additional ``getName `` method that
57- returned the extension's internal name. When your extension needs to be compatible
58- with Twig versions before 1.26, include this method which is omitted in the example
56+ Prior to Twig 1.26, your extension had to define an additional ``getName() ``
57+ method that returned a string with the extension's internal name (e.g.
58+ ``app.my_extension ``). When your extension needs to be compatible with Twig
59+ versions before 1.26, include this method which is omitted in the example
5960 above.
6061
6162.. tip ::
You can’t perform that action at this time.
0 commit comments