Geocoder\Provider\OpenCage::guessLocality PHP Méthode

guessLocality() protected méthode

protected guessLocality ( array $components ) : null | string
$components array
Résultat null | string
    protected function guessLocality(array $components)
    {
        $localityKeys = array('city', 'town', 'village', 'hamlet');
        return $this->guessBestComponent($components, $localityKeys);
    }