mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 19:04:02 +00:00
19 lines
450 B
PHP
19 lines
450 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Stancl\Tenancy\Contracts;
|
|
|
|
/**
|
|
* @property-read Tenant $tenant
|
|
*
|
|
* @see \Stancl\Tenancy\Database\Models\Domain
|
|
*
|
|
* @method __call(string $method, array $parameters) IDE support. This will be a model.
|
|
* @method static __callStatic(string $method, array $parameters) IDE support. This will be a model.
|
|
* @mixin \Illuminate\Database\Eloquent\Model
|
|
*/
|
|
interface Domain
|
|
{
|
|
public function tenant();
|
|
}
|