public function sendDevisConfirmationMail(Devis $devis) { $customer = $devis->getCustomer(); $template = $this->parameters['template']['devisConfirmation']; $rendered = $this->templating->render($template, array('devis' => $devis)); $this->sendEmailMessage($rendered, $customer->getEmail()); }