1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-13 02:24:03 +00:00

Automatic mode

This commit is contained in:
Samuel Štancl 2020-05-10 23:47:11 +02:00
parent 2492345280
commit 73fc525126
16 changed files with 154 additions and 40 deletions

View file

@ -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;
}
}