PHP 클래스 CommerceGuys\Addressing\Country\CountryRepository

Choosing the source at runtime allows integrations (such as the symfony bundle) to stay agnostic about the intl library they need.
상속: implements CommerceGuys\Addressing\Country\CountryRepositoryInterface
파일 보기 프로젝트 열기: commerceguys/addressing 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$countryRepository CommerceGuys\Intl\Country\CountryRepository The country repository, if commerceguys/intl is used.
$regionBundle Symfony\Component\Intl\ResourceBundle\RegionBundle The region bundle, if symfony/intl is used.

공개 메소드들

메소드 설명
__construct ( ) Creates a CountryRepository instance.
getList ( $locale = null )

메소드 상세

__construct() 공개 메소드

Creates a CountryRepository instance.
public __construct ( )

getList() 공개 메소드

public getList ( $locale = null )

프로퍼티 상세

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

The country repository, if commerceguys/intl is used.
protected CountryRepository,CommerceGuys\Intl\Country $countryRepository
리턴 CommerceGuys\Intl\Country\CountryRepository

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

The region bundle, if symfony/intl is used.
protected RegionBundle,Symfony\Component\Intl\ResourceBundle $regionBundle
리턴 Symfony\Component\Intl\ResourceBundle\RegionBundle