interface CountryResolverInterface in Commerce Core 8.2
Defines the interface for country resolvers.
Hierarchy
- interface \Drupal\commerce\Resolver\CountryResolverInterface
Expanded class hierarchy of CountryResolverInterface
All classes that implement CountryResolverInterface
1 file declares its use of CountryResolverInterface
- StoreCountryResolver.php in modules/
store/ src/ Resolver/ StoreCountryResolver.php
File
- src/
Resolver/ CountryResolverInterface.php, line 8
Namespace
Drupal\commerce\ResolverView source
interface CountryResolverInterface {
/**
* Resolves the country.
*
* @return \Drupal\commerce\Country|null
* The country 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 |
---|---|---|---|---|
CountryResolverInterface:: |
public | function | Resolves the country. | 3 |