Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Bluz
Tests
Fixtures
Models
UserAdmin
hasRole
Bluz\Tests\Fixtures\Models\UserAdmin::hasRole PHP Method
UserAdmin Class Documentation
Show file
Open project: bluzphp/framework
hasRole()
public
method
Check user role
public
hasRole
(
integer
$roleId
) :
boolean
$roleId
integer
return
boolean
public function hasRole($roleId) { return true; }
UserAdmin
getPrivileges
hasPrivilege
hasRole
tryLogin