mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-14 04:14:05 +00:00
Close #44
This commit is contained in:
parent
76fae5c287
commit
c20942cda5
2 changed files with 39 additions and 24 deletions
|
|
@ -34,6 +34,14 @@ interface StorageDriver
|
|||
*/
|
||||
public function findByDomain(string $domain): Tenant;
|
||||
|
||||
/**
|
||||
* Get all tenants.
|
||||
*
|
||||
* @param string[] $ids
|
||||
* @return Tenant[]
|
||||
*/
|
||||
public function all(array $ids = []): array;
|
||||
|
||||
/**
|
||||
* Check if a tenant can be created.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue