Example #1
0
 /**
  * Returns the model's JSON representation.
  *
  * @return string
  */
 public function toJSON()
 {
     return Json::dump($this);
 }