public function getHtml($name = null)
    {
        $host = self::API_SERVER;

        $langOption = '';

        if (isset($this->options['lang']) && ! empty($this->options['lang'])) {
            $langOption = "?hl={$this->options['lang']}";
        }

        $return = <<<HTML
<script type="text/javascript" src="{$host}{$langOption}" async defer></script>
HTML;

        return $return;
    }
public function getHtml($name = null)
    {
        $host = self::API_SERVER;

        $langOption = '';

        if (isset($this->options['lang']) && ! empty($this->options['lang'])) {
            $langOption = "?hl={$this->options['lang']}";
        }

        $return = <<<HTML
<script type="text/javascript" src="{$host}{$langOption}" async defer></script>
HTML;

        return $return;
    }
public function getHtml ( $ name = null ) { $ host = self :: API_SERVER ; $ langOption = '' ; if ( isset ( $ this -> options [ 'lang' ] ) && ! empty ( $ this -> options [ 'lang' ] ) ) { $ langOption = "?hl={$this->options['lang']}" ; } $ return =  <<<HTML
<script type="text/javascript" src="{$host}{$langOption}" async defer></script>
HTML ; return $ return ; }
Get the HTML code for the captcha

This method uses the public key to fetch a recaptcha form.

@param null|string $name Base name for recaptcha form elements
@return string
@throws \LosReCaptcha\Service\Exception
Get the HTML code for the captcha