PrefixCacheTenancyBootstrapper
class PrefixCacheTenancyBootstrapper implements TenancyBootstrapper (View source)
Properties
protected string|null | $originalPrefix | ||
static array | $tenantCacheStores | ||
static Closure|null | $prefixGenerator |
Methods
__construct(Repository $config, CacheManager $cacheManager)
No description
void
revert()
No description
void
setCachePrefix(string $driver, string|null $prefix)
No description
string
static void
void
refreshStore(string $driver)
Refresh cache driver's store.
Details
__construct(Repository $config, CacheManager $cacheManager)
No description
void
bootstrap(Tenant $tenant)
No description
void
revert()
No description
protected void
setCachePrefix(string $driver, string|null $prefix)
No description
string
generatePrefix(Tenant $tenant)
No description
static void
generatePrefixUsing(Closure $prefixGenerator)
No description
protected void
refreshStore(string $driver)
Refresh cache driver's store.