File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
docs/twig-components/method Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -79,14 +79,14 @@ variables, meaning that the changes are local to the template fragment:
79
79
The cache tag is part of the CacheExtension which is not installed by default. Install it first:
80
80
81
81
``` twig
82
- $ composer require twig/cache-extra</pre>
82
+ $ composer require twig/cache-extra
83
83
```
84
84
85
85
On Symfony projects, you can automatically enable it by installing the
86
86
twig/extra-bundle:
87
87
88
88
``` twig
89
- $ composer require twig/extra-bundle</pre>
89
+ $ composer require twig/extra-bundle
90
90
```
91
91
92
92
Or add the extension explicitly on the Twig environment:
@@ -119,4 +119,4 @@ $twig->addRuntimeLoader(new class implements RuntimeLoaderInterface{
119
119
```
120
120
121
121
122
- Source: [ Twig] ( https://twig.symfony.com/cache )
122
+ Source: [ Twig] ( https://twig.symfony.com/cache )
You can’t perform that action at this time.
0 commit comments