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::
51
51
}
52
52
}
53
53
54
- .. note ::
54
+ .. note ::.. note ::
55
55
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
59
60
above.
60
61
61
62
.. tip ::
You can’t perform that action at this time.
0 commit comments