跟踪查看用户认证实现
在路由器加个反射 route/web.php
<?php Route::get(‘/‘, function () { return view(‘welcome‘); }); Auth::routes(); Route::get(‘/home‘, ‘HomeController@index‘); Route::get(‘/find/{class}/{action?}‘,function($class,$action = null){ if($action == null) { $ca = new ReflectionClass($class); } else { $ca = new ReflectionMethod($class, $action); } dd($ca); });
原文:http://www.cnblogs.com/yeyuansheng/p/7231575.html