We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac8f538 commit d7b5c12Copy full SHA for d7b5c12
src/Geocoder/Model/AdminLevel.php
@@ -81,4 +81,14 @@ public function toString()
81
{
82
return $this->getName();
83
}
84
+
85
+ /**
86
+ * Returns a string with the administrative level name.
87
+ *
88
+ * @return string
89
+ */
90
+ public function __toString()
91
+ {
92
+ return $this->toString();
93
+ }
94
src/Geocoder/Model/Country.php
@@ -64,4 +64,14 @@ public function toString()
64
65
66
67
68
69
+ * Returns a string with the country name.
70
71
72
73
74
75
76
77
0 commit comments