Esempio n. 1
0
 public function matchPassword(IUser $user, $password)
 {
     return $user->getPassword() === $this->calculateHash($password, $user->getPassword());
 }