/** * Execute the console command. * */ public function fire() { $questions = Question::all(); foreach ($questions as $question) { $this->updateMetadata($question); } }