PHP 클래스 CommerceGuys\Addressing\AddressFormat\AddressFormatRepository

상속: implements CommerceGuys\Addressing\AddressFormat\AddressFormatRepositoryInterface
파일 보기 프로젝트 열기: commerceguys/addressing 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$addressFormats array The instantiated address formats, keyed by country code.

공개 메소드들

메소드 설명
get ( $countryCode )
getAll ( )

보호된 메소드들

메소드 설명
getDefinitions ( ) : array Gets the address format definitions.
getGenericDefinition ( ) : array Gets the generic address format definition.
processDefinition ( string $countryCode, array $definition ) : array Processes the country's address format definition.

메소드 상세

get() 공개 메소드

public get ( $countryCode )

getAll() 공개 메소드

public getAll ( )

getDefinitions() 보호된 메소드

Gets the address format definitions.
protected getDefinitions ( ) : array
리턴 array The address format definitions.

getGenericDefinition() 보호된 메소드

Gets the generic address format definition.
protected getGenericDefinition ( ) : array
리턴 array The generic address format definition.

processDefinition() 보호된 메소드

Processes the country's address format definition.
protected processDefinition ( string $countryCode, array $definition ) : array
$countryCode string The country code.
$definition array The definition.
리턴 array The processed definition.

프로퍼티 상세

$addressFormats 보호되어 있는 프로퍼티

The instantiated address formats, keyed by country code.
protected array $addressFormats
리턴 array