/** * @return mixed */ public function index() { $sectors = Sector::orderBy('id')->get(); return $this->respond(['data' => $this->sectorsTransformer->transformCollection($sectors->all())]); }