logistic_number = $logistic_number; } /** * Execute the job. * * @return void */ public function handle() { ini_set('max_execution_time', 60); LogService::log(LogisticYTOSync::class, "{$this->logistic_number}-JOB-YTO", ''); $this->logisticYTOService = app('LogisticYTOService'); $nativeResponse = $this->logisticYTOService->query($this->logistic_number); $formattedData = $this->logisticYTOService->format($nativeResponse); $this->orderPackageReceivedSyncService = app('OrderPackageReceivedSyncService'); $this->orderPackageReceivedSyncService->update([$formattedData]); } }