/**
  * Renders the template on given message
  *
  * All view-centric parts of the message are set by calling
  * this method. Subject, Body (html/plain).
  *
  * @param MessageInterface $message Message to render into
  *
  * @return void
  */
 public function render(MessageInterface $message)
 {
     $message->setSubject($this->renderSection('Subject'));
     $message->setHtmlBody($this->renderSection('BodyHtml'));
     $message->setPlainBody($this->renderSection('BodyText'));
 }