Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Cartalyst
Sentinel
Roles
RoleableInterface
PHP 인터페이스 Cartalyst\Sentinel\Roles\RoleableInterface
파일 보기
프로젝트 열기: cartalyst/sentinel
공개 메소드들
메소드
설명
getRoles
( ) :
IteratorAggregate
Returns all the associated roles.
inRole
(
mixed
$role
) :
boolean
Checks if the user is in the given role.
메소드 상세
getRoles()
공개
메소드
Returns all the associated roles.
public
getRoles
( ) :
IteratorAggregate
리턴
IteratorAggregate
inRole()
공개
메소드
Checks if the user is in the given role.
public
inRole
(
mixed
$role
) :
boolean
$role
mixed
리턴
boolean