You are here

public function ProviderBase::reverse in Geocoder 8.2

Same name and namespace in other branches
  1. 8.3 src/ProviderBase.php \Drupal\geocoder\ProviderBase::reverse()

Reverse geocode latitude and longitude.

Parameters

float $latitude: The latitude.

float $longitude: The longitude.

Return value

\Geocoder\Model\AddressCollection|null The AddressCollection object, NULL otherwise.

Overrides ProviderInterface::reverse

File

src/ProviderBase.php, line 73

Class

ProviderBase
Provides a base class for providers using handlers.

Namespace

Drupal\geocoder

Code

public function reverse($latitude, $longitude) {
  return $this
    ->process(__FUNCTION__, func_get_args());
}