public function sendSurveyEndedMail(ClientSurvey $clientSurvey): void 	{ 		$email_type = null;  		switch ($clientSurvey->type->value) { 			case ClientSurveyType::Online->value: 				$email_type = $clientSurvey->survey_type->value == SurveyType::IZZ->value ? EmailType::SurveyEndedOnline : EmailType::PulsSurveyEndedOnline;  				break;  			case ClientSurveyType::Offline->value: 				$email_type = $clientSurvey->survey_type->value == SurveyType::IZZ->value ? EmailType::SurveyEndedOffline : EmailType::PulsSurveyEndedOffline;  				break;  			default: 				$email_type = $clientSurvey->survey_type->value == SurveyType::IZZ->value ? EmailType::SurveyEndedCombined : EmailType::PulsSurveyEndedCombined;  				break; 		}  		$emailService = new ClientEmailDispatchingService($clientSurvey, $email_type);  		$emailService->dispatch(); 	}