/**
  * @param array $calendarItems
  *
  * @return CalendarPdf
  */
 public function render(array $calendarItems)
 {
     $pdf = new CalendarPdf();
     $pdf->setTemplate($this->getModuleOptions()->getReviewCalendarTemplate());
     $pdf->setPageOrientation('L');
     $pdf->addPage();
     $pdf->SetFontSize(8);
     $twig = $this->getServiceLocator()->get('ZfcTwigRenderer');
     /*
      * Use the NDA object to render the filename
      */
     $contactListContent = $twig->render('calendar/pdf/review-calendar', ['calendarItems' => $calendarItems]);
     $pdf->writeHTMLCell(0, 0, 12, 35, $contactListContent, 0, 0, 0, false);
     return $pdf;
 }