get()->each(function (Podcast $podcast): void { try { $this->info("Checking \"$podcast->title\" for new content…"); if (!$this->podcastService->isPodcastObsolete($podcast)) { $this->warn('└── The podcast feed has not been updated recently, skipping.'); return; } $this->info('└── Synchronizing episodes…'); $this->podcastService->refreshPodcast($podcast); } catch (Throwable $e) { Log::error($e); } }); return self::SUCCESS; } }