src/HasOtp.php
/**
     * Get the OTP instance
     *
     * @return void
     */
Get the OTP instance
@return void
Get the OTP instance @return void
public function otp()
    {
        if (! $this->otpInstance) {
            $this->otpInstance = ($uri = $this->getOtpUri()) ? Factory::loadFromProvisioningUri($uri)
                : $this->generateOtpInstance();
        }
        return $this->otpInstance;
    }
public function otp ( ) { if ( ! $ this -> otpInstance ) { $ this -> otpInstance = ( $ uri = $ this -> getOtpUri ( ) ) ? Factory :: loadFromProvisioningUri ( $ uri ) : $ this -> generateOtpInstance ( ) ; } return $ this -> otpInstance ; }
Get the OTP instance
 @return void
Get the OTP instance @return void