Non-static method Zizaco\Entrust\Entrust::hasRole() should not be called statically

Auth::user()->hasRole('role-name');

发表回复

您的电子邮箱地址不会被公开。