1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-14 06:44:02 +00:00

Identification middleware & tests

This commit is contained in:
Samuel Štancl 2020-05-10 05:47:27 +02:00
parent a17727b437
commit 8ea4940f34
18 changed files with 362 additions and 174 deletions

View file

@ -0,0 +1,15 @@
<?php
declare(strict_types=1);
namespace Stancl\Tenancy\Exceptions;
use Exception;
class DomainOccupiedByOtherTenantException extends Exception
{
public function __construct($domain)
{
parent::__construct("The $domain domain is occupied by another tenant.");
}
}