Property | Type | Description | |
---|---|---|---|
$additionalName | string | The additional name | |
$addressLine1 | string | The first line of the address block. | |
$addressLine2 | string | The second line of the address block. | |
$administrativeArea | string | The top-level administrative subdivision of the country. | |
$countryCode | string | The two-letter country code. | |
$dependentLocality | string | The dependent locality (i.e. neighbourhood). | |
$familyName | string | The family name. | |
$givenName | string | The given name. | |
$locale | string | The locale. | |
$locality | string | The locality (i.e. city). | |
$organization | string | The organization. | |
$postalCode | string | The postal code. | |
$sortingCode | string | The sorting code. |
Method | Description | |
---|---|---|
__construct ( string $countryCode = '', string $administrativeArea = '', string $locality = '', string $dependentLocality = '', string $postalCode = '', string $sortingCode = '', string $addressLine1 = '', string $addressLine2 = '', string $organization = '', string $givenName = '', string $additionalName = '', string $familyName = '', string $locale = 'und' ) | Creates an Address instance. | |
getAdditionalName ( ) | ||
getAddressLine1 ( ) | ||
getAddressLine2 ( ) | ||
getAdministrativeArea ( ) | ||
getCountryCode ( ) | ||
getDependentLocality ( ) | ||
getFamilyName ( ) | ||
getGivenName ( ) | ||
getLocale ( ) | ||
getLocality ( ) | ||
getOrganization ( ) | ||
getPostalCode ( ) | ||
getSortingCode ( ) | ||
withAdditionalName ( $additionalName ) | ||
withAddressLine1 ( $addressLine1 ) | ||
withAddressLine2 ( $addressLine2 ) | ||
withAdministrativeArea ( $administrativeArea ) | ||
withCountryCode ( $countryCode ) | ||
withDependentLocality ( $dependentLocality ) | ||
withFamilyName ( $familyName ) | ||
withGivenName ( $givenName ) | ||
withLocale ( $locale ) | ||
withLocality ( $locality ) | ||
withOrganization ( $organization ) | ||
withPostalCode ( $postalCode ) | ||
withSortingCode ( $sortingCode ) |
public __construct ( string $countryCode = '', string $administrativeArea = '', string $locality = '', string $dependentLocality = '', string $postalCode = '', string $sortingCode = '', string $addressLine1 = '', string $addressLine2 = '', string $organization = '', string $givenName = '', string $additionalName = '', string $familyName = '', string $locale = 'und' ) | ||
$countryCode | string | The two-letter country code. |
$administrativeArea | string | The administrative area. |
$locality | string | The locality. |
$dependentLocality | string | The dependent locality. |
$postalCode | string | The postal code. |
$sortingCode | string | The sorting code |
$addressLine1 | string | The first line of the address block. |
$addressLine2 | string | The second line of the address block. |
$organization | string | The organization. |
$givenName | string | The given name. |
$additionalName | string | The additional name. |
$familyName | string | The family name. |
$locale | string | The locale. Defaults to 'und'. |
protected string $additionalName | ||
return | string |
protected string $addressLine1 | ||
return | string |
protected string $addressLine2 | ||
return | string |
protected string $administrativeArea | ||
return | string |
protected string $countryCode | ||
return | string |
protected string $dependentLocality | ||
return | string |