tenant = $tenant; } /** * Execute the job. * * @return void */ public function handle() { event(new RemovingStorageSymlink($this->tenant)); Artisan::call('tenants:link', [ '--remove' => true, '--tenants' => [$this->tenant->getTenantKey()], ]); event(new StorageSymlinkRemoved($this->tenant)); } }