1 |
$User = \Auth::user() |
or
1 |
$User = App\Components\User\Models\User::find($id) |
// check
1 |
$User->isSuperUser(); // boolean |
1 |
$User = \Auth::user() |
or
1 |
$User = App\Components\User\Models\User::find($id) |
// check
1 |
$User->isSuperUser(); // boolean |