PHP Interface CommerceGuys\Addressing\AddressFormat\AddressFormatRepositoryInterface

Datei anzeigen Open project: commerceguys/addressing Interface Usage Examples

Public Methods

Method Description
get ( string $countryCode ) : AddressFormat Returns an address format instance matching the provided country code.
getAll ( ) : AddressFormat[] Returns all address format instances.

Method Details

get() public method

Returns an address format instance matching the provided country code.
public get ( string $countryCode ) : AddressFormat
$countryCode string The country code.
return AddressFormat The address format instance.

getAll() public method

Returns all address format instances.
public getAll ( ) : AddressFormat[]
return AddressFormat[] An array of address format instances.