Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
app
Models
Access
User
Traits
UserAccess
hasPermission
app\Models\Access\User\Traits\UserAccess::hasPermission PHP Method
UserAccess Trait Documentation
ファイルを表示
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