File Manager Lite
Dir:
/home/codewavebd/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Console/stubs
Upload
[..]
job.batched.queued.stub (557 B)
Edit
Rename
Del
job.queued.stub (394 B)
Edit
Rename
Del
listener.queued.stub (415 B)
Edit
Rename
Del
listener.stub (363 B)
Edit
Rename
Del
listener.typed.queued.stub (446 B)
Edit
Rename
Del
listener.typed.stub (394 B)
Edit
Rename
Del
Edit: 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; } // } }
Simpan