/** * @return array */ public function getUsers() { return $this->user->all(); }
/** * @return \Illuminate\View\View */ public function index() { return view('user.index', ['users' => $this->user->all()]); }
/** * @return array */ public function getUsers() { return $this->user->all(); }
/** * @return \Illuminate\View\View */ public function index() { return view('user.index', ['users' => $this->user->all()]); }