You are here

public function Country::__toString in Commerce Core 8.2

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\commerce

Code

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