You are here

public function Country::__toString in Price 8

Same name and namespace in other branches
  1. 3.x src/Country.php \Drupal\price\Country::__toString()
  2. 2.0.x src/Country.php \Drupal\price\Country::__toString()
  3. 2.x src/Country.php \Drupal\price\Country::__toString()
  4. 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\price

Code

public function __toString() {
  return $this->countryCode;
}