interface LocaleResolverInterface in Price 2.x
Same name and namespace in other branches
- 8 src/Resolver/LocaleResolverInterface.php \Drupal\price\Resolver\LocaleResolverInterface
- 3.x src/Resolver/LocaleResolverInterface.php \Drupal\price\Resolver\LocaleResolverInterface
- 2.0.x src/Resolver/LocaleResolverInterface.php \Drupal\price\Resolver\LocaleResolverInterface
- 3.0.x src/Resolver/LocaleResolverInterface.php \Drupal\price\Resolver\LocaleResolverInterface
Defines the interface for locale resolvers.
Hierarchy
- interface \Drupal\price\Resolver\LocaleResolverInterface
Expanded class hierarchy of LocaleResolverInterface
All classes that implement LocaleResolverInterface
File
- src/
Resolver/ LocaleResolverInterface.php, line 8
Namespace
Drupal\price\ResolverView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
LocaleResolverInterface:: |
public | function | Resolves the locale. | 2 |