division = $pcj->division; $this->charId = $pcj->charId; $this->corpId = $pcj->corpId; $this->page = $pcj->page; $this->connection = 'redis'; } /** * Execute the job. * * @return void */ public function handle() { //Delcare the class variable we need $finance = new FinanceHelper(); $finance->GetCorpWalletJournalPage($this->division, $this->charId, $this->corpId, $this->page); //After the job is completed, delete the job $this->delete(); } /** * The job failed to process * * @param Exception $exception * @return void */ public function failed($exception) { Log::critical($exception); } }