class StringFormatter

Constants

STREET_NUMBER

STREET_NAME

LOCALITY

POSTAL_CODE

SUB_LOCALITY

ADMIN_LEVEL

ADMIN_LEVEL_CODE

COUNTRY_NAME

COUNTRY_CODE

TIMEZONE

Methods

string
format(Location $location, string $format)

Transform a Location instance into a string representation.

Details

at line 29
string format(Location $location, string $format)

Transform a Location instance into a string representation.

Parameters

Location $location
string $format

Return Value

string