Skip to content

Commit b080665

Browse files
authored
Merge pull request #1273 from evertalbers/patch-56
De</pre>cation
2 parents 699e764 + ef1ca69 commit b080665

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/twig-components/method/cache.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,14 @@ variables, meaning that the changes are local to the template fragment:
7979
The cache tag is part of the CacheExtension which is not installed by default. Install it first:
8080

8181
```twig
82-
$ composer require twig/cache-extra</pre>
82+
$ composer require twig/cache-extra
8383
```
8484

8585
On Symfony projects, you can automatically enable it by installing the
8686
twig/extra-bundle:
8787

8888
```twig
89-
$ composer require twig/extra-bundle</pre>
89+
$ composer require twig/extra-bundle
9090
```
9191

9292
Or add the extension explicitly on the Twig environment:
@@ -119,4 +119,4 @@ $twig->addRuntimeLoader(new class implements RuntimeLoaderInterface{
119119
```
120120

121121

122-
Source: [Twig](https://twig.symfony.com/cache)
122+
Source: [Twig](https://twig.symfony.com/cache)

0 commit comments

Comments
 (0)