mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 00:54:05 +00:00
Session scoping & tenant() cleanup
This commit is contained in:
parent
c8f9a82745
commit
05d6383b99
6 changed files with 125 additions and 4 deletions
13
src/Exceptions/TenancyNotInitializedException.php
Normal file
13
src/Exceptions/TenancyNotInitializedException.php
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
namespace Stancl\Tenancy\Exceptions;
|
||||
|
||||
use Exception;
|
||||
|
||||
class TenancyNotInitializedException extends Exception
|
||||
{
|
||||
public function __construct($message = "")
|
||||
{
|
||||
parent::__construct($message ?: 'Tenancy is not initialized.');
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue