interface CurrentCountryInterface in Price 2.x
Same name and namespace in other branches
- 8 src/CurrentCountryInterface.php \Drupal\price\CurrentCountryInterface
- 3.x src/CurrentCountryInterface.php \Drupal\price\CurrentCountryInterface
- 2.0.x src/CurrentCountryInterface.php \Drupal\price\CurrentCountryInterface
- 3.0.x src/CurrentCountryInterface.php \Drupal\price\CurrentCountryInterface
Holds a reference to the current country, resolved on demand.
Hierarchy
- interface \Drupal\price\CurrentCountryInterface
Expanded class hierarchy of CurrentCountryInterface
All classes that implement CurrentCountryInterface
See also
1 file declares its use of CurrentCountryInterface
- DefaultLocaleResolver.php in src/
Resolver/ DefaultLocaleResolver.php
File
- src/
CurrentCountryInterface.php, line 10
Namespace
Drupal\priceView source
interface CurrentCountryInterface {
/**
* Gets the country for the current request.
*
* @return \Drupal\price\Country
* The country.
*/
public function getCountry();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CurrentCountryInterface:: |
public | function | Gets the country for the current request. | 1 |