You are here

public function CommerceCurrencyResolverAutocomplete::__construct in Commerce Currency Resolver 8

Constructs a CommerceCurrencyResolverAutocomplete object.

Parameters

\Drupal\Core\Locale\CountryManagerInterface $country_manager: The country manager.

File

src/Controller/CommerceCurrencyResolverAutocomplete.php, line 32

Class

CommerceCurrencyResolverAutocomplete
Class CommerceCurrencyResolverAutocomplete.

Namespace

Drupal\commerce_currency_resolver\Controller

Code

public function __construct(CountryManagerInterface $country_manager) {
  $this->countryManager = $country_manager;
}