['required', 'confirmed', Password::default()], ]; } public function getDto(): UpdatePassword { return new UpdatePassword(password: $this->input('password')); } }