public function index(Manager $fractal, ReportfilterTransformer $reportfilterTransformer) { // show all $records = Reportfilter::all(); $collection = new Collection($records, $reportfilterTransformer); $data = $fractal->createData($collection)->toArray(); return $this->respond($data); }