checkCode() публичный Метод

Validates the code, which was entered by the user.
public checkCode ( Scheb\TwoFactorBundle\Model\Google\TwoFactorInterface $user, string $code ) : boolean
$user Scheb\TwoFactorBundle\Model\Google\TwoFactorInterface
$code string
Результат boolean
 /**
  * Validates the code, which was entered by the user
  *
  * @param  \Scheb\TwoFactorBundle\Model\InWebo\TwoFactorInterface $user
  * @param  integer                                               $code
  * @return bool
  */
 public function checkCode(TwoFactorInterface $user, $code)
 {
     return $this->authenticator->checkCode($user, $code);
 }