You are here

abstract protected function ProviderBase::doGeocode in Geocoder 8.2

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

Performs the geocoding.

Parameters

string $source: The data to be geocoded.

Return value

\Geocoder\Model\AddressCollection|\Geometry|null The Address, NULL otherwise.

3 methods override ProviderBase::doGeocode()
ProviderUsingHandlerBase::doGeocode in src/ProviderUsingHandlerBase.php
Random::doGeocode in src/Plugin/Geocoder/Provider/Random.php
Performs the geocoding.
TestProvider::doGeocode in modules/geocoder_geofield/tests/modules/geocoder_geofield_test/src/Plugin/Geocoder/Provider/TestProvider.php
Performs the geocoding.

File

src/ProviderBase.php, line 120

Class

ProviderBase
Provides a base class for providers using handlers.

Namespace

Drupal\geocoder

Code

protected abstract function doGeocode($source);