laravel Non-static method Zizaco\Entrust\Entrust::hasRole() should not be called statically 由jkloozx 2018年 1月 10日 Auth::user()->hasRole('role-name');