mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 18:34:04 +00:00
rename method to resolved()
This commit is contained in:
parent
643a64b5c8
commit
2aec8417e9
1 changed files with 3 additions and 2 deletions
|
|
@ -38,7 +38,8 @@ abstract class CachedTenantResolver implements TenantResolver
|
||||||
|
|
||||||
if ($this->cache->has($key)) {
|
if ($this->cache->has($key)) {
|
||||||
$tenant = $this->cache->get($key);
|
$tenant = $this->cache->get($key);
|
||||||
$this->tenantIdentified($tenant, ...$args);
|
|
||||||
|
$this->resolved($tenant, ...$args);
|
||||||
|
|
||||||
return $tenant;
|
return $tenant;
|
||||||
}
|
}
|
||||||
|
|
@ -67,7 +68,7 @@ abstract class CachedTenantResolver implements TenantResolver
|
||||||
|
|
||||||
abstract public function resolveWithoutCache(...$args): Tenant;
|
abstract public function resolveWithoutCache(...$args): Tenant;
|
||||||
|
|
||||||
public function tenantIdentified(Tenant $tenant, ...$args): void
|
public function resolved(Tenant $tenant, ...$args): void
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue