作者:挡不住的向左寻找爱 | 来源:互联网 | 2023-08-07 11:27
在L4中,是否有L3的Route::controller(Controller::detect());?解决方法:我不认为有一个等价物,但注册你的控制器很容易:Route::con
在L4中,是否有L3的Route :: controller(Controller :: detect());?
解决方法:
我不认为有一个等价物,但注册你的控制器很容易:
Route::controller('users', 'UserController');
The controller method accepts two arguments. The first is the base URI
the controller handles, while the second is the class name of the
controller.