public function Locale::__toString in Commerce Core 8.2
Gets the string representation of the locale.
Return value
string The string representation of the locale.
File
- src/
Locale.php, line 43
Class
- Locale
- Represents a locale.
Namespace
Drupal\commerceCode
public function __toString() : string {
return $this->localeCode;
}