Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
app
Models
Access
User
Traits
UserAccess
hasPermission
app\Models\Access\User\Traits\UserAccess::hasPermission PHP Method
UserAccess Trait Documentation
Mostrar archivo
Open project: rappasoft/laravel-5-boilerplate
hasPermission()
public
method
public
hasPermission
(
$nameOrId
) :
boolean
$nameOrId
return
boolean
public function hasPermission($nameOrId) { return $this->allow($nameOrId); }
UserAccess
allow
allowMultiple
attachRole
attachRoles
detachRole
detachRoles
hasPermission
hasPermissions
hasRole
hasRoles