Skip to content

Commit ac14ccf

Browse files
committed
Improve TOC
1 parent bd69d3c commit ac14ccf

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Resources/doc/tagging.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Tagged Cache Invalidation
55
* [Configuration](#configuration)
66
* [Tagging with the Cache Manager](#tagging-with-the-cache-manager)
77
* [Tagging with Annotations](#tagging-with-annotations)
8+
* [Expressions](#expressions)
9+
* [Invalidate Tags](#invalidate-tags)
810

911
Introduction
1012
------------
@@ -88,17 +90,17 @@ If you prefer, you can combine your tags in one annotation:
8890
*/
8991
```
9092

91-
You can also use [expressions](http://symfony.com/doc/current/components/expression_language/index.html)
92-
in tags.
93+
### Expressions
9394

94-
**Note:** expressions have a dependency on the Symfony’s ExpressionLanguage
95+
You can also use [expressions](http://symfony.com/doc/current/components/expression_language/index.html)
96+
in tags. Expressions have a dependency on the Symfony’s ExpressionLanguage
9597
component, so make sure to include that in your project:
9698

9799
```bash
98100
$ composer require symfony/expression-language
99101
```
100102

101-
This will set tag `post-123` on the response:
103+
The annotation below will set tag `post-123` on the response:
102104

103105
```php
104106
/**

0 commit comments

Comments
 (0)