Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
CommerceGuys
Addressing
Subdivision
SubdivisionRepositoryInterface
getList
CommerceGuys\Addressing\Subdivision\SubdivisionRepositoryInterface::getList PHP Method
SubdivisionRepositoryInterface Interface Documentation
Show file
Open project: commerceguys/addressing
getList()
public
method
Returns a list of subdivisions for the provided parents.
public
getList
(
array
$parents
,
string
$locale
= null ) :
array
$parents
array
The parents (country code, subdivision codes).
$locale
string
The locale (e.g. fr-FR).
return
array
An array of subdivision names, keyed by code.
public function getList(array $parents, $locale = null);
SubdivisionRepositoryInterface
get
getAll
getList