public function LocaleResolverInterface::resolve in Price 8
Same name and namespace in other branches
- 3.x src/Resolver/LocaleResolverInterface.php \Drupal\price\Resolver\LocaleResolverInterface::resolve()
- 2.0.x src/Resolver/LocaleResolverInterface.php \Drupal\price\Resolver\LocaleResolverInterface::resolve()
- 2.x src/Resolver/LocaleResolverInterface.php \Drupal\price\Resolver\LocaleResolverInterface::resolve()
- 3.0.x src/Resolver/LocaleResolverInterface.php \Drupal\price\Resolver\LocaleResolverInterface::resolve()
Resolves the locale.
Return value
\Drupal\price\Locale|null The locale object, if resolved. Otherwise NULL, indicating that the next resolver in the chain should be called.
2 methods override LocaleResolverInterface::resolve()
- ChainLocaleResolver::resolve in src/
Resolver/ ChainLocaleResolver.php - Resolves the locale.
- DefaultLocaleResolver::resolve in src/
Resolver/ DefaultLocaleResolver.php - Resolves the locale.
File
- src/
Resolver/ LocaleResolverInterface.php, line 17
Class
- LocaleResolverInterface
- Defines the interface for locale resolvers.
Namespace
Drupal\price\ResolverCode
public function resolve();