public function process(Form $form) { foreach ($form->values as $key => $value) { $this->setting->set($key, $value); } $this->setting->flush(); }