Skip to content

Commit 547efb9

Browse files
authored
Updated changelog and alias for adapters (#144)
1 parent 2adecd1 commit 547efb9

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

CacheItem.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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;

PhpCacheItem.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,12 @@
1919
interface 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
*/

0 commit comments

Comments
 (0)