CommerceGuys\Addressing\AddressFormat\AddressFormatRepository::getGenericDefinition PHP Method

getGenericDefinition() protected method

Gets the generic address format definition.
protected getGenericDefinition ( ) : array
return array The generic address format definition.
    protected function getGenericDefinition()
    {
        return ['format' => "%givenName %familyName\n%organization\n%addressLine1\n%addressLine2\n%locality", 'required_fields' => ['addressLine1', 'locality'], 'uppercase_fields' => ['locality'], 'administrative_area_type' => 'province', 'locality_type' => 'city', 'dependent_locality_type' => 'suburb', 'postal_code_type' => 'postal', 'subdivision_depth' => 0];
    }