View
Table of Contents
Interfaces
- AddressFormatter
- Formats postal addresses according to the conventions of a country.
- Formatter
- Formats values for display according to a locale.
Classes
- AccessLog
- Records which view model fields a template read (for the mandatory field guard).
- CountryNames
- Country names from ext-intl with the ISO code as fallback.
- FormattedValue
- A value for templates: formatted for display and available in raw form.
- InternationalAddressFormatter
- Fallback address format: street lines, "postcode city", subdivision and, for
foreign recipients, the country name in upper case as the last line.
- IntlFormatter
- Locale aware formatting with ext-intl and a fallback for German and English conventions.
- InvoiceTitle
- Label key of the document title for a type code (BT-3).
- InvoiceViewModel
- The only object templates receive. Every value is available
formatted ($value->formatted or {{ $value }}) and raw ($value->raw).
- LetterLayout
- Position of the address field and marks on the first page, in millimetres from the
top left corner (e.g. DIN 5008 form A/B in the German country pack).
- MandatoryFieldGuard
- Checks after rendering that the template printed all mandatory values.
- MandatoryFieldMissing
- A template omitted mandatory invoice information.
- Markdown
- Safe Markdown subset for texts: paragraphs, lists, bold and italic. HTML in the input is
shown as text, links keep only their text.
- ResolvedLogo
- A logo of the presentation as the renderer gets it: a local file or a checked data URI
(Pdf\LogoCache), resolved before the view model is built, so that the view layer does no I/O.
- ViewContext
- Everything the view model factory needs besides the invoice data.
- ViewModelFactory
- Builds the template view model from calculated invoice data.
- ViewNode
- Read-only node of the invoice view model with recorded property access.