formId = $formId; } public function sheets(): array { $sheets = []; $questions = FormQuestionModel::where('form_id', $this->formId)->get(); foreach ($questions as $question) { $sheets[] = new FormAnswerSheet($question); } return $sheets; } }