/** * @return mixed */ public function persist() { $result = $this->processArrayValue(); return $this->customer->subscribeQuestionnaire()->save(new SubscribeQuestionnaire(array_only($result, ['q1', 'q2', 'q3', 'q3a', 'q3b', 'q3c', 'q3d', 'q3d2', 'q3e', 'q4', 'q1b']))); }