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
Cartalyst
Sentinel
Roles
RoleableInterface
inRole
Cartalyst\Sentinel\Roles\RoleableInterface::inRole PHP Method
RoleableInterface Interface Documentation
Show file
Open project: cartalyst/sentinel
inRole()
public
method
Checks if the user is in the given role.
public
inRole
(
mixed
$role
) :
boolean
$role
mixed
return
boolean
public function inRole($role);
RoleableInterface
getRoles
inRole