/** * @return string */ private function setTitleMail() { $subject = $this->template->getConfigVars('subject_contact'); /*if(isset($this->title)){ $title = $this->title; }else{*/ $title = 'Demande de contact'; /*}*/ $website = $this->template->getConfigVars('website'); return sprintf($subject, $title, $website); }