Example #1
0
 /**
  * Get all of the model results for the query.
  *
  * @param  array  $columns
  * @return array
  */
 public function get($columns = array('*'))
 {
     return $this->hydrate($this->model, $this->table->get($columns));
 }
Example #2
0
 /**
  * Get all of the model results for the query.
  *
  * @param  array  $columns
  * @param  bool   $include
  * @return array
  */
 public function get($columns = array('*'), $include = true)
 {
     return $this->hydrate($this->model, $this->table->get($columns), $include);
 }