public function getDataTables() { $tags = $this->tagRepository->getByPage(Input::get('start'), Input::get('length')); return $this->respond(['draw' => Input::get('raw'), "recordsTotal" => 7, 'data' => $this->transformCollection($tags->items)]); }