Skip to content

Commit db4aea8

Browse files
committed
Add __toString to Record
1 parent 71f168f commit db4aea8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Record.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,4 +151,9 @@ public function __get($key)
151151
}
152152
// TODO: Throw something!
153153
}
154+
155+
public function __toString()
156+
{
157+
return strval($this->record);
158+
}
154159
}

0 commit comments

Comments
 (0)