public function CurrencyOrderRefresh::__construct in Commerce Currency Resolver 8
File
- src/
EventSubscriber/ CurrencyOrderRefresh.php, line 46
Class
- CurrencyOrderRefresh
- Checking for mismatch in currencies on order.
Namespace
Drupal\commerce_currency_resolver\EventSubscriberCode
public function __construct(CurrentCurrency $currency, OrderRefreshInterface $order_refresh, AccountInterface $account) {
$this->account = $account;
$this->currentCurrency = $currency;
$this->orderRefresh = $order_refresh;
}