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
hasPrivilege
Bluz\Tests\Fixtures\Models\UserAdmin::hasPrivilege PHP Method
UserAdmin Class Documentation
Show file
Open project: bluzphp/framework
hasPrivilege()
public
method
Has role a privilege
public
hasPrivilege
(
string
$module
,
string
$privilege
) :
boolean
$module
string
$privilege
string
return
boolean
public function hasPrivilege($module, $privilege) { return true; }
UserAdmin
getPrivileges
hasPrivilege
hasRole
tryLogin