mirror of
https://github.com/archtechx/tenancy.git
synced 2026-06-21 11:54:04 +00:00
Tenant DB manager database() -> connection()
This commit is contained in:
parent
f3e01c1581
commit
0fc105487b
13 changed files with 60 additions and 60 deletions
|
|
@ -14,7 +14,7 @@ abstract class TenantDatabaseManager implements StatefulTenantDatabaseManager
|
|||
/** The database connection to the server. */
|
||||
protected string $connection;
|
||||
|
||||
public function database(): Connection
|
||||
public function connection(): Connection
|
||||
{
|
||||
if (! isset($this->connection)) {
|
||||
throw new NoConnectionSetException(static::class);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue