private function CreateDeleteService(ReservationValidationRuleProcessor $ruleProcessor, UserSession $userSession) { $ruleProcessor->AddRule(new AdminExcludedRule(new CurrentUserIsReservationUserRule($userSession), $userSession, $this->userRepository)); return new DeleteReservationValidationService($ruleProcessor); }