UserManagerInterface
interface UserManagerInterface
Interface to be implemented by user managers. This adds an additional level of abstraction between application, and the actual repository.
All changes to users should happen through this interface.
Methods
array
findAllUsers()
Finds all users in the database.
User|null|object
authenticateUserByToken(string $token)
Find the user by confirmationToken.
User|null|object
User|null|object
findUserByUsername(string $userName)
Find the user by confirmationToken.
mixed
findUserByPK(int $id)
No description
array
addToWishList(int $id)
No description
User|null
removeFromWishListAction(int $id)
No description
mixed
getAllAdminUser()
No description
Details
at line 29
array
findAllUsers()
Finds all users in the database.
at line 55
User|null|object
authenticateUserByToken(string $token)
Find the user by confirmationToken.
at line 63
User|null|object
loadUser(User $user)
Refresh the user. It is primarily used for loading user on each request.
at line 71
User|null|object
findUserByUsername(string $userName)
Find the user by confirmationToken.
at line 78
editUserAddress(Address $address, mixed $id)
Edit address for user with id