User
User
class User implements AdvancedUserInterface
User is the user implementation used by the in-memory user provider.
This should not be used for anything else.
Methods
__construct($username, $password, array $roles = array(), $enabled = true, $userNonExpired = true, $credentialsNonExpired = true, $userNonLocked = true) | ||
__toString() | ||
(Role|string)[] | getRoles() Returns the roles granted to the user. | |
string | getPassword()
|