AddressFormat
class AddressFormat
Class AddressFormat
Methods
static
$this
getInstance()
No description
string
format(
AddressInterface $address,
null $locale = null,
bool $html = true,
string $htmlTag = 'p',
array $htmlAttributes = array())
Format an address
string
formatTheliaAddress(
OrderAddress|OrderAddress $address,
null $locale = null,
bool $html = true,
string $htmlTag = 'p',
array $htmlAttributes = array())
Format a Thelia address (Address or OrderAddress)
string
postalLabelFormat(
AddressInterface $address,
null $locale = null,
null $originCountry = null,
array $options = array())
Format an address to a postal label
string
postalLabelFormatTheliaAddress(
OrderAddress|OrderAddress $address,
null $locale = null,
null $originCountry = null,
array $options = array())
Format a Thelia address (Address or OrderAddress) to a postal label
Details
at line 44
static
$this
getInstance()
at line 64
string
format(
AddressInterface $address,
null $locale = null,
bool $html = true,
string $htmlTag = 'p',
array $htmlAttributes = array())
Format an address
at line 104
string
formatTheliaAddress(
OrderAddress|OrderAddress $address,
null $locale = null,
bool $html = true,
string $htmlTag = 'p',
array $htmlAttributes = array())
Format a Thelia address (Address or OrderAddress)
at line 119
string
postalLabelFormat(
AddressInterface $address,
null $locale = null,
null $originCountry = null,
array $options = array())
Format an address to a postal label
at line 159
string
postalLabelFormatTheliaAddress(
OrderAddress|OrderAddress $address,
null $locale = null,
null $originCountry = null,
array $options = array())
Format a Thelia address (Address or OrderAddress) to a postal label