PHP Интерфейс Cartalyst\Sentinel\Roles\RoleableInterface

Показать файл Открыть проект

Открытые методы

Метод Описание
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