src/Recaptcha/Captcha/Captcha.php
public function setTheme($theme)
    {
        if (!self::isValidTheme($theme)) {
            throw new Exception(
                'Theme ' . $theme . ' is not valid. Please use one of [' . join(', ', self::$themes) . ']'
            );
        }

        $this->theme = $theme;
    }
public function setTheme($theme)
    {
        if (!self::isValidTheme($theme)) {
            throw new Exception(
                'Theme ' . $theme . ' is not valid. Please use one of [' . join(', ', self::$themes) . ']'
            );
        }

        $this->theme = $theme;
    }
public function setTheme ( $ theme ) { if ( ! self :: isValidTheme ( $ theme ) ) { throw new Exception ( 'Theme ' . $ theme . ' is not valid. Please use one of [' . join ( ', ' , self :: $ themes ) . ']' ) ; } $ this -> theme = $ theme ; }
Set a reCaptcha theme

@param string $theme
@throws Exception
@see https://developers.google.com/recaptcha/docs/customization
Set a reCaptcha theme