/
home
/
sjslayjy
/
public_html
/
theweavenest
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Queue
/
Middleware
/
Upload File
HOME
<?php namespace Illuminate\Queue\Middleware; class SkipIfBatchCancelled { /** * Process the job. * * @param mixed $job * @param callable $next * @return mixed */ public function handle($job, $next) { if (method_exists($job, 'batch') && $job->batch()?->cancelled()) { return; } $next($job); } }