PdfRenderer
in
Turns HTML (from the template) into a PDF, embedding the invoice XML if requested.
Table of Contents
Methods
- render() : string
- supportsEmbedding() : bool
- Whether the renderer creates the PDF/A and embeds the requested files itself (or with its own post processor). Otherwise Quittio passes the result to MpdfPostProcessor when the request asks for PDF/A or an embedded XML.
Methods
render()
public
render(RenderRequest $request) : string
Parameters
- $request : RenderRequest
Return values
stringsupportsEmbedding()
Whether the renderer creates the PDF/A and embeds the requested files itself (or with its own post processor). Otherwise Quittio passes the result to MpdfPostProcessor when the request asks for PDF/A or an embedded XML.
public
supportsEmbedding() : bool