app/Http/Controllers/EleveController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $eleves = Eleve::paginate(15);
        return view('eleves.index', compact('eleves'));
    }
public function index ( ) { $ eleves = Eleve :: paginate ( 15 ) ; return view ( 'eleves.index' , compact ( 'eleves' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .