Returns an assoc array of this model's data to send over the wire
public to_json ( ) |
public function to_json() { return parent::to_json() + array('sites' => $this->sites()->to_json()); }
public function to_json() { return parent::to_json() + array('sites' => $this->sites()->to_json()); }