form->getState(); try { $this->record = $userRep->store($data); send_admin_success_notification(); $this->redirect($this->getRedirectUrl()); } catch (\Exception $exception) { send_admin_fail_notification($exception->getMessage()); } } }