1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 22:34:03 +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 */
protected $storage;
/** @var Artisan */
protected $artisan;
// todo event "listeners" instead of "callbacks"
/** @var callable[][] */
protected $callbacks = [];
@ -36,6 +39,7 @@ class TenantManagerv2
{
$this->app = $app;
$this->storage = $storage;
$this->artisan = $artisan;
$this->bootstrapFeatures();
}