Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
app
Models
Access
User
Traits
UserAccess
hasPermission
app\Models\Access\User\Traits\UserAccess::hasPermission PHP 메소드
UserAccess 2 문서
파일 보기
프로젝트 열기: rappasoft/laravel-5-boilerplate
hasPermission()
공개
메소드
public
hasPermission
(
$nameOrId
) :
boolean
$nameOrId
리턴
boolean
public function hasPermission($nameOrId) { return $this->allow($nameOrId); }
UserAccess
allow
allowMultiple
attachRole
attachRoles
detachRole
detachRoles
hasPermission
hasPermissions
hasRole
hasRoles