mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 09:24:04 +00:00
Identification middleware & tests
This commit is contained in:
parent
a17727b437
commit
8ea4940f34
18 changed files with 362 additions and 174 deletions
13
src/Contracts/Domain.php
Normal file
13
src/Contracts/Domain.php
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
namespace Stancl\Tenancy\Contracts;
|
||||
|
||||
/**
|
||||
* @property-read Tenant $tenant
|
||||
*
|
||||
* @see \Stancl\Tenancy\Database\Models\Domain
|
||||
*/
|
||||
interface Domain
|
||||
{
|
||||
public function tenant();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue