torrentId = $torrentId; } /** * Execute the job. * * @return void */ public function handle() { $rep = new TorrentRepository(); $result = $rep->loadBoughtUser($this->torrentId); do_log("result: $result"); } /** * Handle a job failure. * * @param \Throwable $exception * @return void */ public function failed(\Throwable $exception) { do_log("failed: " . $exception->getMessage() . $exception->getTraceAsString(), 'error'); } }