1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-06 00:24:02 +00:00

findBy DB storage driver

This commit is contained in:
Samuel Štancl 2019-10-24 19:22:00 +02:00
parent a80275c1ac
commit 8d73381eae
2 changed files with 44 additions and 2 deletions

View file

@ -8,8 +8,8 @@ use Exception;
class TenantDoesNotExistException extends Exception
{
public function __construct(string $id)
public function __construct(string $id, string $key = 'id')
{
$this->message = "Tenant with this id does not exist: $id";
$this->message = "Tenant with this $key does not exist: $id";
}
}