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.

inRole() 공개 메소드

Checks if the user is in the given role.
public inRole ( mixed $role ) : boolean
$role mixed
리턴 boolean