check() 공개 메소드

Checks the string against the hashed value.
public check ( string $value, string $hashedValue ) : boolean
$value string
$hashedValue string
리턴 boolean
예제 #1
0
 /**
  * {@inheritDoc}
  */
 public function validateCredentials(UserInterface $user, array $credentials)
 {
     return $this->hasher->check($credentials['password'], $user->password);
 }