Method |
Description |
|
__construct ( PdfRenderer $renderer ) : void |
Constructor |
|
attach ( Zend\EventManager\EventManagerInterface $events, integer $priority = 1 ) : void |
Attach the aggregate to the specified event manager |
|
detach ( Zend\EventManager\EventManagerInterface $events ) : void |
Detach aggregate listeners from the specified event manager |
|
injectResponse ( Zend\View\ViewEvent $event ) : void |
Inject the response with the PDF payload and appropriate Content-Type header |
|
selectRenderer ( Zend\View\ViewEvent $event ) : null | PdfRenderer |
Detect if we should use the PdfRenderer based on model type |
|