mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 17:24:03 +00:00
Add docblocks
This commit is contained in:
parent
93fc961b34
commit
509d00f9f3
6 changed files with 184 additions and 6 deletions
|
|
@ -8,6 +8,13 @@ use Illuminate\Cache\CacheManager as BaseCacheManager;
|
|||
|
||||
class CacheManager extends BaseCacheManager
|
||||
{
|
||||
/**
|
||||
* Add tags and forward the call to the inner cache store.
|
||||
*
|
||||
* @param string $method
|
||||
* @param array $parameters
|
||||
* @return mixed
|
||||
*/
|
||||
public function __call($method, $parameters)
|
||||
{
|
||||
$tags = [config('tenancy.cache.tag_base') . tenant('id')];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue