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 25
mixed getId()

Returns the ID of user.

Return Value

mixed

at line 31
array getRoles()

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

Return Value

array