PHP Interface Cartalyst\Sentinel\Roles\RoleInterface

Afficher le fichier Open project: cartalyst/sentinel

Méthodes publiques

Méthode Description
getRoleId ( ) : integer Returns the role's primary key.
getRoleSlug ( ) : string Returns the role's slug.
getUsers ( ) : IteratorAggregate Returns all users for the role.
getUsersModel ( ) : string Returns the users model.
setUsersModel ( string $usersModel ) : void Sets the users model.

Method Details

getRoleId() public méthode

Returns the role's primary key.
public getRoleId ( ) : integer
Résultat integer

getRoleSlug() public méthode

Returns the role's slug.
public getRoleSlug ( ) : string
Résultat string

getUsers() public méthode

Returns all users for the role.

getUsersModel() public static méthode

Returns the users model.
public static getUsersModel ( ) : string
Résultat string

setUsersModel() public static méthode

Sets the users model.
public static setUsersModel ( string $usersModel ) : void
$usersModel string
Résultat void