PHP Интерфейс CommerceGuys\Addressing\AddressFormat\AddressFormatRepositoryInterface

Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
get ( string $countryCode ) : AddressFormat Returns an address format instance matching the provided country code.
getAll ( ) : AddressFormat[] Returns all address format instances.

Описание методов

get() публичный Метод

Returns an address format instance matching the provided country code.
public get ( string $countryCode ) : AddressFormat
$countryCode string The country code.
Результат AddressFormat The address format instance.

getAll() публичный Метод

Returns all address format instances.
public getAll ( ) : AddressFormat[]
Результат AddressFormat[] An array of address format instances.