users = $users; } public function edit($id, ProfileEditForm $form): void { $user = $this->users->get($id); $user->editProfile($form->email, $form->username, $form->password); $this->users->save($user); } }