/** * Save the new changes to the user's account. */ public function saveChanges() { $name = $this->settingsView->getName(); $contact = $this->settingsView->getContact(); $this->settingsModel->updateUserProfile($name, $contact); }