Skip to content

Commit cf67da5

Browse files
committed
Merge pull request #219 from FriendsOfSymfony/improve-invalidate-doc
update phpdoc for TagHandler::invalidateTags
2 parents 7cb46ad + 66795df commit cf67da5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Handler/TagHandler.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,11 @@ public function addTags(array $tags)
106106
* Invalidate cache entries that contain any of the specified tags in their
107107
* tag header.
108108
*
109+
* The cache manager is told to invalidate all content with the specified
110+
* tags. The invalidaton requests are sent to the caching proxy on kernel
111+
* termination (both for web requests and command runs). To immediately
112+
* send the invalidation request, call the CacheManager::flush() method.
113+
*
109114
* @param array $tags Cache tags
110115
*
111116
* @return $this

0 commit comments

Comments
 (0)