You are here

public static function AddressToGeo::create in Geolocation Address Link 8

File

src/AddressToGeo.php, line 98

Class

AddressToGeo
Class AddressToGeo.

Namespace

Drupal\geolocation_address_link

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('geolocation.core'), $container
    ->get('address.address_format_repository'), $container
    ->get('address.country_repository'), $container
    ->get('address.subdivision_repository'));
}