AddressFormatter
in
Formats postal addresses according to the conventions of a country.
Table of Contents
Methods
- format() : array<int, string>
Methods
format()
public
format(Address $address[, array<int, string> $nameLines = [] ][, string|null $senderCountry = null ][, string|null $locale = null ]) : array<int, string>
Parameters
- $address : Address
- $nameLines : array<int, string> = []
-
recipient lines placed before the address
- $senderCountry : string|null = null
- $locale : string|null = null