You are here

public function CommerceShippingCurrency::__construct in Commerce Currency Resolver 8

File

modules/shipping/src/EventSubscriber/CommerceShippingCurrency.php, line 38

Class

CommerceShippingCurrency
Handling shipments rates.

Namespace

Drupal\commerce_currency_resolver_shipping\EventSubscriber

Code

public function __construct(CurrentCurrency $currency, ExchangerCalculatorInterface $price_exchanger) {
  $this->currentCurrency = $currency;
  $this->priceExchanger = $price_exchanger;
}