Skip to content

Commit

Permalink
Added toString to RegistrationRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
Samyoul committed Dec 13, 2016
1 parent 33a5815 commit 2afb7b8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/RegistrationRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,10 @@ public function appId()
{
return $this->appId;
}

public function __toString()
{
return json_encode($this);
}

}

0 comments on commit 2afb7b8

Please sign in to comment.