Methods
-
initialize() : voidInitialize user's relations.
-
completeLogin() : voidComplete the login for a user by incrementing the logins and saving login timestamp.
-
Get user's role.
Methods Details
-
public function initialize()
Initialize user's relations. -
public function completeLogin()
Complete the login for a user by incrementing the logins and saving login timestamp. -
public function getRole(string $name)
Get user's role.