mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 02:24:03 +00:00
Automatic mode
This commit is contained in:
parent
2492345280
commit
73fc525126
16 changed files with 154 additions and 40 deletions
|
|
@ -2,15 +2,15 @@
|
|||
|
||||
namespace Stancl\Tenancy\Events;
|
||||
|
||||
use Stancl\Tenancy\Database\Models\Tenant;
|
||||
use Stancl\Tenancy\Tenancy;
|
||||
|
||||
class TenancyInitialized
|
||||
{
|
||||
/** @var Tenant */
|
||||
protected $tenant;
|
||||
/** @var Tenancy */
|
||||
public $tenancy;
|
||||
|
||||
public function __construct(Tenant $tenant)
|
||||
public function __construct(Tenancy $tenancy)
|
||||
{
|
||||
$this->tenant = $tenant;
|
||||
$this->tenancy = $tenancy;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue