PassthroughRenderer
in package
implements
PdfRenderer
FinalYes
Uses a finished PDF supplied by the application; only PDF/A and the XML are added.
Table of Contents
Interfaces
- PdfRenderer
- Turns HTML (from the template) into a PDF, embedding the invoice XML if requested.
Methods
- __construct() : mixed
- render() : string
- supportsEmbedding() : bool
- PDF/A and the embedded XML are added by the post processor of this renderer.
Methods
__construct()
public
__construct(string $pdf[, PdfPostProcessor $postProcessor = new MpdfPostProcessor() ]) : mixed
Parameters
- $pdf : string
- $postProcessor : PdfPostProcessor = new MpdfPostProcessor()
render()
public
render(RenderRequest $request) : string
Parameters
- $request : RenderRequest
Return values
stringsupportsEmbedding()
PDF/A and the embedded XML are added by the post processor of this renderer.
public
supportsEmbedding() : bool