<?phpnamespaceApp\Http\Controllers;useIlluminate\Http\Request;classBlogControllerextendsController{/*** Display a listing of the resource.** @return \Illuminate\Http\Response*/publicfunctionindex(){//return'index';}/*** Show the form for creating a new resource.** @return \Illuminate\Http\Response*/publicfunctioncreate(){//}/*** Store a newly created resource in storage.** @param \Illuminate\Http\Request $request* @return \Illuminate\Http\Response*/publicfunctionstore(Request $request){//}/*** Display the specified resource.** @param int $id* @return \Illuminate\Http\Response*/publicfunctionshow($id){//}/*** Show the form for editing the specified resource.** @param int $id* @return \Illuminate\Http\Response*/publicfunctionedit($id){echoroute('blogs.index');echo'<br>';echoroute('blogs.edit',['blog'=>110]);echo'<br>';return'edit id:'.$id;}/*** Update the specified resource in storage.** @param \Illuminate\Http\Request $request* @param int $id* @return \Illuminate\Http\Response*/publicfunctionupdate(Request $request,$id){//}/*** Remove the specified resource from storage.** @param int $id* @return \Illuminate\Http\Response*/publicfunctiondestroy($id){//}}