在AuthServiceProvider中,我在启动功能中有以下一行。
Auth::provider('customer', function($app, array $config){ return new CustomerAuthServiceProvider(); });
我需要从Controller中的CustomerAuthServiceProvider调用方法。我可以做吗 ?
DIEA
相关分类