1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-14 04:14:05 +00:00
This commit is contained in:
Samuel Štancl 2019-09-11 15:34:25 +02:00
parent 76fae5c287
commit c20942cda5
2 changed files with 39 additions and 24 deletions

View file

@ -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.
*