%PDF- %PDF-
| Direktori : /vendor/laravel/framework/src/Illuminate/Foundation/Console/stubs/ |
| Current File : //vendor/laravel/framework/src/Illuminate/Foundation/Console/stubs/job.batched.queued.stub |
<?php
namespace {{ namespace }};
use Illuminate\Bus\Batchable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Queue\Queueable;
class {{ class }} implements ShouldQueue
{
use Batchable, Queueable;
/**
* Create a new job instance.
*/
public function __construct()
{
//
}
/**
* Execute the job.
*/
public function handle(): void
{
if ($this->batch()->cancelled()) {
// The batch has been cancelled...
return;
}
//
}
}