Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Pop
Auth
Acl
hasRole
Pop\Auth\Acl::hasRole PHP Method
Acl Class Documentation
显示文件
Open project: nicksagona/PopPHP
hasRole()
public
method
Method to is if a role has been added
public
hasRole
(
string
$role
) :
boolean
$role
string
return
boolean
public function hasRole($role) { return isset($this->roles[$role]); }
Acl
__construct
addResource
addResources
addRole
addRoles
allow
deny
factory
getResource
getRole
hasResource
hasRole
isAllowed
isDenied
removeAllow
removeDeny