Closed calvinchan999 closed 4 years ago
$job = GpReportJob::dispatch($start,$end)->getJobStatusId(); Call to undefined method Illuminate\Foundation\Bus\PendingDispatch::getJobStatusId()
$job = GpReportJob::dispatch($start,$end)->getJobStatusId();
::dispatch() doesn't return the same object, but an instance of Illuminate\Foundation\Bus\PendingDispatch
::dispatch()
Illuminate\Foundation\Bus\PendingDispatch
$job = GpReportJob::dispatch($start,$end)->getJobStatusId();
Call to undefined method Illuminate\Foundation\Bus\PendingDispatch::getJobStatusId()