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