UserRepository
extends ServiceEntityRepository
in package
implements
PasswordUpgraderInterface
Tags
Table of Contents
Interfaces
- PasswordUpgraderInterface
Methods
- __construct() : mixed
- upgradePassword() : void
- Used to upgrade (rehash) the user's password automatically over time.
Methods
__construct()
public
__construct(ManagerRegistry $registry) : mixed
Parameters
- $registry : ManagerRegistry
upgradePassword()
Used to upgrade (rehash) the user's password automatically over time.
public
upgradePassword(PasswordAuthenticatedUserInterface $user, string $newHashedPassword) : void
Parameters
- $user : PasswordAuthenticatedUserInterface
- $newHashedPassword : string