Scheb\TwoFactorBundle\Tests\Security\TwoFactor\Provider\Google\GoogleAuthenticatorTest::createAuthenticator PHP Method

createAuthenticator() private method

private createAuthenticator ( string | null $hostname = null, string | null $issuer = null ) : GoogleAuthenticator
$hostname string | null
$issuer string | null
return Scheb\TwoFactorBundle\Security\TwoFactor\Provider\Google\GoogleAuthenticator
    private function createAuthenticator($hostname = null, $issuer = null)
    {
        return new GoogleAuthenticator($this->google, $hostname, $issuer);
    }