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

artisan attribute

This commit is contained in:
Samuel Štancl 2019-09-08 15:07:05 +02:00
parent ff71197341
commit 7bdeb4d664

View file

@ -28,6 +28,9 @@ class TenantManagerv2
/** @var Contracts\StorageDriver */ /** @var Contracts\StorageDriver */
protected $storage; protected $storage;
/** @var Artisan */
protected $artisan;
// todo event "listeners" instead of "callbacks" // todo event "listeners" instead of "callbacks"
/** @var callable[][] */ /** @var callable[][] */
protected $callbacks = []; protected $callbacks = [];
@ -36,6 +39,7 @@ class TenantManagerv2
{ {
$this->app = $app; $this->app = $app;
$this->storage = $storage; $this->storage = $storage;
$this->artisan = $artisan;
$this->bootstrapFeatures(); $this->bootstrapFeatures();
} }