PHP Interface CommerceGuys\Addressing\AddressFormat\AddressFormatRepositoryInterface

Afficher le fichier Open project: commerceguys/addressing Interface Usage Examples

Méthodes publiques

Méthode 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 méthode

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

getAll() public méthode

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