mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 03:54:02 +00:00
Get rid of tenant DB manager connection config
This commit is contained in:
parent
2fedd5ce88
commit
15a7e52208
11 changed files with 58 additions and 41 deletions
|
|
@ -4,7 +4,7 @@ namespace Stancl\Tenancy\Exceptions;
|
|||
|
||||
use Exception;
|
||||
|
||||
class ModelNotSyncMaster extends Exception
|
||||
class ModelNotSyncMasterException extends Exception
|
||||
{
|
||||
public function __construct(string $class)
|
||||
{
|
||||
13
src/Exceptions/NoConnectionSetException.php
Normal file
13
src/Exceptions/NoConnectionSetException.php
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
namespace Stancl\Tenancy\Exceptions;
|
||||
|
||||
use Exception;
|
||||
|
||||
class NoConnectionSetException extends Exception
|
||||
{
|
||||
public function __construct($manager)
|
||||
{
|
||||
parent::__construct("No connection was set on this $manager instance.");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue