Skip to content

Commit 2afb7b8

Browse files
committed
Added toString to RegistrationRequest
1 parent 33a5815 commit 2afb7b8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/RegistrationRequest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,10 @@ public function appId()
4343
{
4444
return $this->appId;
4545
}
46+
47+
public function __toString()
48+
{
49+
return json_encode($this);
50+
}
51+
4652
}

0 commit comments

Comments
 (0)