Fixing Breaking Changes in ItemList

This commit is contained in:
japatel
2014-10-14 16:54:43 -05:00
parent dc2ac0fd63
commit 89855f4624
18 changed files with 632 additions and 75 deletions

View File

@@ -220,4 +220,14 @@ class PPModel
{
return json_encode($this->toArray(), $options);
}
/**
* Magic Method for toString
*
* @return string
*/
public function __toString()
{
return json_encode($this->toArray());
}
}