interface CountryResolverInterface in Price 8
Same name and namespace in other branches
- 3.x src/Resolver/CountryResolverInterface.php \Drupal\price\Resolver\CountryResolverInterface
- 2.0.x src/Resolver/CountryResolverInterface.php \Drupal\price\Resolver\CountryResolverInterface
- 2.x src/Resolver/CountryResolverInterface.php \Drupal\price\Resolver\CountryResolverInterface
- 3.0.x src/Resolver/CountryResolverInterface.php \Drupal\price\Resolver\CountryResolverInterface
Defines the interface for country resolvers.
Hierarchy
- interface \Drupal\price\Resolver\CountryResolverInterface
Expanded class hierarchy of CountryResolverInterface
All classes that implement CountryResolverInterface
File
- src/
Resolver/ CountryResolverInterface.php, line 8
Namespace
Drupal\price\ResolverView source
interface CountryResolverInterface {
/**
* Resolves the country.
*
* @return \Drupal\price\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. | 2 |