1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 13:54:04 +00:00

rename method to resolved()

This commit is contained in:
Samuel Štancl 2021-04-13 22:58:48 +02:00 committed by GitHub
parent 643a64b5c8
commit 2aec8417e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,7 +38,8 @@ abstract class CachedTenantResolver implements TenantResolver
if ($this->cache->has($key)) {
$tenant = $this->cache->get($key);
$this->tenantIdentified($tenant, ...$args);
$this->resolved($tenant, ...$args);
return $tenant;
}
@ -67,7 +68,7 @@ abstract class CachedTenantResolver implements TenantResolver
abstract public function resolveWithoutCache(...$args): Tenant;
public function tenantIdentified(Tenant $tenant, ...$args): void
public function resolved(Tenant $tenant, ...$args): void
{
}