You are here

public static function ConfigurableProviderUsingHandlerWithAdapterBase::create in Geocoder 8.3

Throws

\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException

Overrides ProviderUsingHandlerWithAdapterBase::create

File

src/ConfigurableProviderUsingHandlerWithAdapterBase.php, line 79

Class

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

Namespace

Drupal\geocoder

Code

public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
  return new static($configuration, $plugin_id, $plugin_definition, $container
    ->get('config.factory'), $container
    ->get('cache.geocoder'), $container
    ->get('language_manager'), $container
    ->get('config.typed'), $container
    ->get('geocoder.http_adapter'), $container
    ->get('geocoder.throttle'));
}