像Route::get()和View::make()中的类Route、View是指那个文件下的类,用ctrl+鼠标左键无法显示
class HomeController extends BaseController {
/*
|--------------------------------------------------------------------------
| Default Home Controller
|--------------------------------------------------------------------------
|
| You may wish to use controllers instead of, or in addition to, Closure
| based routes. That's great! Here is an example controller method to
| get you started. To route to this controller, just add the route:
|
| Route::get('/', 'HomeController@showWelcome');
|
*/
public function showWelcome()
{
return View::make('hello');
}
}
用ctrl+鼠标左键无法显示
1 个回复
码农
赞同来自: lyolzj