interface IIdentity

Represents the user of application.

Methods

mixed
getId()

Returns the ID of user.

array
getRoles()

Returns a list of roles that the user is a member of.

Details

at line 22
mixed getId()

Returns the ID of user.

Return Value

mixed

at line 27
array getRoles()

Returns a list of roles that the user is a member of.

Return Value

array