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 eb920a4 commit 6120e70Copy full SHA for 6120e70
src/Address.php
@@ -75,4 +75,22 @@ public function __serialize(){
75
"full" => $this->full,
76
];
77
}
78
+
79
+ /**
80
+ * Convert instance to array
81
+ *
82
+ * @return array
83
+ */
84
+ public function toArray(){
85
+ return $this->__serialize();
86
+ }
87
88
89
+ * Return the stringified attribute
90
91
+ * @return string
92
93
+ public function toString(){
94
+ return $this->__toString();
95
96
0 commit comments