/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $counselors = Counselor::all(); return $this->respond(['data' => $this->counselorTransformer->transformCollection($counselors->all())]); }