You are here

public function StoreCountryResolver::__construct in Commerce Core 8.2

Constructs a new StoreCountryResolver object.

Parameters

\Drupal\commerce_store\CurrentStoreInterface $current_store: The current store.

File

modules/store/src/Resolver/StoreCountryResolver.php, line 35

Class

StoreCountryResolver
Returns the store's billing country.

Namespace

Drupal\commerce_store\Resolver

Code

public function __construct(CurrentStoreInterface $current_store) {
  $this->currentStore = $current_store;
}