1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 14:54:04 +00:00

wip Debuggable trait

This commit is contained in:
Samuel Štancl 2022-07-28 15:14:29 +02:00
parent f9c9d8615f
commit be13160133
5 changed files with 163 additions and 1 deletions

View file

@ -7,13 +7,14 @@ namespace Stancl\Tenancy;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Traits\Macroable;
use Stancl\Tenancy\Concerns\Debuggable;
use Stancl\Tenancy\Contracts\TenancyBootstrapper;
use Stancl\Tenancy\Contracts\Tenant;
use Stancl\Tenancy\Exceptions\TenantCouldNotBeIdentifiedById;
class Tenancy
{
use Macroable;
use Macroable, Debuggable;
/** @var Tenant|Model|null */
public $tenant;