1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 17:24:03 +00:00

Add docblocks

This commit is contained in:
Samuel Štancl 2019-09-20 20:14:58 +02:00
parent 93fc961b34
commit 509d00f9f3
6 changed files with 184 additions and 6 deletions

View file

@ -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')];