mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 19:14:03 +00:00
Import commands
This commit is contained in:
parent
c7ccd6a90d
commit
319620d6ab
2 changed files with 10 additions and 8 deletions
|
|
@ -5,11 +5,12 @@ declare(strict_types=1);
|
|||
namespace Stancl\Tenancy\Jobs;
|
||||
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Foundation\Bus\Dispatchable;
|
||||
use Illuminate\Queue\InteractsWithQueue;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
use Illuminate\Support\Facades\Artisan;
|
||||
use Illuminate\Queue\InteractsWithQueue;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Foundation\Bus\Dispatchable;
|
||||
use Stancl\Tenancy\Commands\ClearPendingTenants as ClearPendingTenantsCommand;
|
||||
|
||||
class ClearPendingTenants implements ShouldQueue
|
||||
{
|
||||
|
|
@ -22,6 +23,6 @@ class ClearPendingTenants implements ShouldQueue
|
|||
*/
|
||||
public function handle()
|
||||
{
|
||||
Artisan::call(\Stancl\Tenancy\Commands\ClearPendingTenants::class);
|
||||
Artisan::call(ClearPendingTenantsCommand::class);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,11 +5,12 @@ declare(strict_types=1);
|
|||
namespace Stancl\Tenancy\Jobs;
|
||||
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Foundation\Bus\Dispatchable;
|
||||
use Illuminate\Queue\InteractsWithQueue;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
use Illuminate\Support\Facades\Artisan;
|
||||
use Illuminate\Queue\InteractsWithQueue;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Foundation\Bus\Dispatchable;
|
||||
use Stancl\Tenancy\Commands\CreatePendingTenants as CreatePendingTenantsCommand;
|
||||
|
||||
class CreatePendingTenants implements ShouldQueue
|
||||
{
|
||||
|
|
@ -22,6 +23,6 @@ class CreatePendingTenants implements ShouldQueue
|
|||
*/
|
||||
public function handle()
|
||||
{
|
||||
Artisan::call(\Stancl\Tenancy\Commands\CreatePendingTenants::class);
|
||||
Artisan::call(CreatePendingTenantsCommand::class);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue