You are here

protected function ConfigurableProviderUsingHandlerWithAdapterBase::doGeocode in Geocoder 8.3

Throws

\ReflectionException

\Geocoder\Exception\Exception

Overrides ProviderUsingHandlerBase::doGeocode

File

src/ConfigurableProviderUsingHandlerWithAdapterBase.php, line 96

Class

ConfigurableProviderUsingHandlerWithAdapterBase
Provides a base class for providers using handlers with HTTP adapter.

Namespace

Drupal\geocoder

Code

protected function doGeocode($source) {
  $this->throttle
    ->waitForAvailability($this->pluginId, isset($this->configuration['throttle']) ? $this->configuration['throttle'] : []);
  return parent::doGeocode($source);
}