src/Google2FA.php
public function getQRCodeInline($company, $holder, $secret, $size = 200, $encoding = 'utf-8')
    {
        return $this->getBaconQRCodeVersion() === 1
            ? $this->getQRCodeInlineV1($company, $holder, $secret, $size, $encoding)
            : $this->getQRCodeInlineV2($company, $holder, $secret, $size, $encoding);
    }
public function getQRCodeInline($company, $holder, $secret, $size = 200, $encoding = 'utf-8')
    {
        return $this->getBaconQRCodeVersion() === 1
            ? $this->getQRCodeInlineV1($company, $holder, $secret, $size, $encoding)
            : $this->getQRCodeInlineV2($company, $holder, $secret, $size, $encoding);
    }
public function getQRCodeInline ( $ company , $ holder , $ secret , $ size = 200 , $ encoding = 'utf-8' ) { return $ this -> getBaconQRCodeVersion ( ) === 1 ? $ this -> getQRCodeInlineV1 ( $ company , $ holder , $ secret , $ size , $ encoding ) : $ this -> getQRCodeInlineV2 ( $ company , $ holder , $ secret , $ size , $ encoding ) ; }
Generates a QR code data url to display inline.

@param string $company
@param string $holder
@param string $secret
@param int    $size
@param string $encoding Default to UTF-8

@return string
Generates a QR code data url to display inline .