File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -180,6 +180,9 @@ public function getPreviousTags()
180180 return $ this ->prevTags ;
181181 }
182182
183+ /**
184+ * {@inheritdoc}
185+ */
183186 public function getTags ()
184187 {
185188 return $ this ->tags ;
Original file line number Diff line number Diff line change 1919interface PhpCacheItem extends HasExpirationTimestampInterface, TaggableCacheItemInterface
2020{
2121 /**
22- * Get the current tags. These are not the same tags as getPrevious tags.
22+ * Get the current tags. These are not the same tags as getPrevious tags. This
23+ * is the tags that has been added to the item after the item was fetched from
24+ * the cache storage.
25+ *
26+ * WARNING: This is generally not the function you want to use. Please see
27+ * `getPreviousTags`.
2328 *
2429 * @return array
2530 */
You can’t perform that action at this time.
0 commit comments