В МОЕМ CONTROLLER:класса 'Zend ZendPdf PdfDocument' не найден
use ZendPdf\PdfDocument;
public function monthlyReportPdfAction(){
$pdf = new PdfDocument();
$pdf->pages[0] = new Page(Page::SIZE_A4);$pdf->pages[0]->setFont(Font::fontWithName(Font::FONT_HELVETICA), 24);$pdf->pages[0]->drawText('Hello world!', 240, 400);
$pdf->save('example.pdf');
}
МОЙ zendpdf в поставщика я создал один .phtml и один HREF в индексе ,,
в мой контроллер – bhuvaneshwaran