mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-14 05:44:04 +00:00
15 lines
268 B
PHP
15 lines
268 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Stancl\Tenancy\Contracts;
|
|
|
|
interface TenantResolver
|
|
{
|
|
/**
|
|
* Resolve a tenant using some value.
|
|
*
|
|
* @throws TenantCouldNotBeIdentifiedException
|
|
*/
|
|
public function resolve(mixed ...$args): Tenant;
|
|
}
|