app/Http/Controllers/IndexController.php
/**
     * Show a list of all of the application's users.
     *
     * @return Response
     */
Show a list of all of the application's users.
@return Response
Show a list of all of the application ' s users . @return Response
public function index()
    {
        $users = DB::table('cookies')->pluck('name');
        return view('index', ['users' => $users]);
    }
public function index ( ) { $ users = DB :: table ( 'cookies' ) -> pluck ( 'name' ) ; return view ( 'index' , [ 'users' => $ users ] ) ; }
Show a list of all of the application's users.
Show a list of all of the application ' s users .
//$users = DB::table('cookies')->get();