PHP Class 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.
Inheritance: implements CommerceGuys\Addressing\Country\CountryRepositoryInterface
Afficher le fichier Open project: commerceguys/addressing Class Usage Examples

Protected Properties

Свойство Type Description
$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.

Méthodes publiques

Méthode Description
__construct ( ) Creates a CountryRepository instance.
getList ( $locale = null )

Method Details

__construct() public méthode

Creates a CountryRepository instance.
public __construct ( )

getList() public méthode

public getList ( $locale = null )

Property Details

$countryRepository protected_oe property

The country repository, if commerceguys/intl is used.
protected CountryRepository,CommerceGuys\Intl\Country $countryRepository
Résultat CommerceGuys\Intl\Country\CountryRepository

$regionBundle protected_oe property

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