protected function constructInput() { $input = array_merge(parent::constructInput(), ['questions' => $this->constructQuestions()]); $input['attempt']->questions = $this->constructQuestionAttempts(); return $input; }
protected function constructInput() { return array_merge(parent::constructInput(), ['grade_items' => $this->constructGradeitems()]); }