pwj = $pwj; } /** * Execute the job. * Utilized by using ProcessWalletJournalJob::dispatch() * The model is passed into the dispatch function, then added to the queue * for processing. * * @return void */ public function handle() { //Declare the class variable we need $finance = new FinanceHelper(); $finance->GetWalletJournalPage($pwj->division, $pwj->charId, $pwj->page); //After the job is completed, delete the job $this->pwj->delete(); } /** * The job failed to process. * * @param Exception $exception * @return void */ public function failed($exception) { // Send user notification of failure, etc... dd($exception); } }