From 2afb7b803407d9723b36d40b187600e63497c0ef Mon Sep 17 00:00:00 2001 From: Samyoul Date: Tue, 13 Dec 2016 21:36:06 +0000 Subject: [PATCH] Added toString to RegistrationRequest --- src/RegistrationRequest.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/RegistrationRequest.php b/src/RegistrationRequest.php index cfa401f..e43d098 100644 --- a/src/RegistrationRequest.php +++ b/src/RegistrationRequest.php @@ -43,4 +43,10 @@ public function appId() { return $this->appId; } + + public function __toString() + { + return json_encode($this); + } + } \ No newline at end of file