You are here

interface LocaleResolverInterface in Price 2.0.x

Same name and namespace in other branches
  1. 8 src/Resolver/LocaleResolverInterface.php \Drupal\price\Resolver\LocaleResolverInterface
  2. 3.x src/Resolver/LocaleResolverInterface.php \Drupal\price\Resolver\LocaleResolverInterface
  3. 2.x src/Resolver/LocaleResolverInterface.php \Drupal\price\Resolver\LocaleResolverInterface
  4. 3.0.x src/Resolver/LocaleResolverInterface.php \Drupal\price\Resolver\LocaleResolverInterface

Defines the interface for locale resolvers.

Hierarchy

Expanded class hierarchy of LocaleResolverInterface

All classes that implement LocaleResolverInterface

File

src/Resolver/LocaleResolverInterface.php, line 8

Namespace

Drupal\price\Resolver
View source
interface LocaleResolverInterface {

  /**
   * Resolves the locale.
   *
   * @return \Drupal\price\Locale|null
   *   The locale object, if resolved. Otherwise NULL, indicating that the next
   *   resolver in the chain should be called.
   */
  public function resolve();

}

Members

Namesort descending Modifiers Type Description Overrides
LocaleResolverInterface::resolve public function Resolves the locale. 2