Skip to content

Commit

Permalink
Add a getter for the tag set
Browse files Browse the repository at this point in the history
  • Loading branch information
stancl authored Feb 7, 2019
1 parent aadf70a commit f4ee68a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Illuminate/Cache/TaggedCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,16 @@ public function taggedItemKey($key)
return sha1($this->tags->getNamespace()).':'.$key;
}

/**
* Get the tag set instance.
*
* @return \Illuminate\Cache\TagSet
*/
public function getTags()
{
return $this->tags;
}

/**
* Fire an event for this cache instance.
*
Expand Down

0 comments on commit f4ee68a

Please sign in to comment.