34 lines
647 B
PHP
34 lines
647 B
PHP
<?php
|
|
|
|
namespace App\Console\Commands;
|
|
|
|
use App\Jobs\PurgeCouponsPdf as PurgeCouponsPdfJob;
|
|
use Illuminate\Console\Command;
|
|
|
|
class PurgeCouponsPdf extends Command
|
|
{
|
|
/**
|
|
* The name and signature of the console command.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $signature = 'app:purge-coupons-pdf';
|
|
|
|
/**
|
|
* The console command description.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $description = 'Purge Coupons PDF folder';
|
|
|
|
/**
|
|
* Execute the console command.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function handle(): void
|
|
{
|
|
$job = new PurgeCouponsPdfJob();
|
|
$job->handle();
|
|
}
|
|
}
|