cursor() as $story) { $mediaCacher->cache($story); $count++; } $this->info("Checked {$count} stories."); return self::SUCCESS; } }