/** * Execute the job. * * @return void */ public function handle() { $match_request = new MatchRequest(['author_id' => $this->auth->id, 'target_id' => $this->target_id]); $match_request->save(); Event::fire(new OnMatchRequest($match_request)); }