BladeTemplateEngine.php
Table of Contents
Classes
- BladeTemplateEngine
- Renders Blade views with the invoice view model as $invoice. The name "default" maps to
the configured template. Template names may come from invoice data, so only these views
can be selected: the configured template (quittio.pdf.template), the shipped views under
"quittio::templates." (no partials) and the views of quittio.pdf.templates ("invoices.*"
or "namespace::*" allows every view below a prefix). Names that are no Blade view fall
back to the plain PHP templates, which resolve names inside their template directories
only (never file paths).