CommerceGuys\Addressing\Subdivision\SubdivisionRepositoryInterface::getList PHP Method

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