You are here

interface CurrentCurrencyInterface in Commerce Currency Resolver 8

Holds a reference to the active currency, resolved on demand.

Hierarchy

Expanded class hierarchy of CurrentCurrencyInterface

All classes that implement CurrentCurrencyInterface

1 file declares its use of CurrentCurrencyInterface
CommerceCurrencyResolver.php in src/Resolver/CommerceCurrencyResolver.php

File

src/CurrentCurrencyInterface.php, line 8

Namespace

Drupal\commerce_currency_resolver
View source
interface CurrentCurrencyInterface {

  /**
   * Gets the resolved currency for the current request.
   *
   * @return string
   *   The active currency.
   */
  public function getCurrency();

}

Members

Namesort descending Modifiers Type Description Overrides
CurrentCurrencyInterface::getCurrency public function Gets the resolved currency for the current request. 1