/** * Execute the job. */ public function handle(MaterialService $materialService) { if (!$this->account) { $this->delete(); } $materialService->syncRemoteMaterial($this->account, 'news'); $this->delete(); }