public function checkPassword($password, $hashedPassword) { $PasswordHasher = $this->getPasswordHasher(); return $PasswordHasher->check($password, $hashedPassword); }