/** Grabs all investors requests * @param InvestorRequestRepo $investorRequestRepo * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View */ public function getAll(InvestorRequestRepo $investorRequestRepo) { $requests = $investorRequestRepo->all(); return view('request.investor.all', compact('requests')); }