public function Country::__toString in Price 8
Same name and namespace in other branches
- 3.x src/Country.php \Drupal\price\Country::__toString()
- 2.0.x src/Country.php \Drupal\price\Country::__toString()
- 2.x src/Country.php \Drupal\price\Country::__toString()
- 3.0.x src/Country.php \Drupal\price\Country::__toString()
Gets the string representation of the country.
Return value
string The string representation of the country
File
- src/
Country.php, line 43
Class
- Country
- Represents a country.
Namespace
Drupal\priceCode
public function __toString() {
return $this->countryCode;
}