app/Http/Controllers/LecturerController.php
/**
     * Show the form for creating a new resource.
     *
     * @return \Illuminate\Http\Response
     */
Show the form for creating a new resource.
@return \Illuminate\Http\Response
Show the form for creating a new resource . @return \ Illuminate \ Http \ Response
public function create()
    {
        $lecturers = Lecturer::orderBy('id', 'desc')->take(10)->get();
        return view('lecturer.create', compact('lecturers'));
    }
public function create ( ) { $ lecturers = Lecturer :: orderBy ( 'id' , 'desc' ) -> take ( 10 ) -> get ( ) ; return view ( 'lecturer.create' , compact ( 'lecturers' ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .