1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-13 07:54:03 +00:00
tenancy/src/Contracts/Future/CanSetConnection.php
Samuel Štancl fed8c0f9d1
[2.2.4] [WIP] Respect custom connections when creating database (#244)
* Add TenantDatabaseManager::setConnection()

* Apply fixes from StyleCI
2019-12-11 22:16:25 +01:00

15 lines
293 B
PHP

<?php
declare(strict_types=1);
namespace Stancl\Tenancy\Contracts\Future;
use Illuminate\Database\Connection;
/**
* This interface *might* be part of the TenantDatabaseManager interface in 3.x.
*/
interface CanSetConnection
{
public function setConnection(Connection $connection);
}