Browse Source

Agregado método __toString

Daniel Libonati 8 years ago
parent
commit
ac910fa96d
1 changed files with 6 additions and 1 deletions
  1. 6 1
      Entity/OAuthClient.php

+ 6 - 1
Entity/OAuthClient.php

@@ -18,10 +18,15 @@ class OAuthClient extends BaseClient
      */
     protected $id;
 
-    
+
     public function __construct()
     {
         parent::__construct();
     }
 
+    public function __toString()
+    {
+        return strval($this->id);
+    }
+
 }