static function register(string $name, CaptchaInterface $captcha) {
        if (isset(self::$_captchaList[$name]))
            Console::warning("Overwriting captcha generator \"$name\".");
        self::$_captchaList[$name] = $captcha;
        self::enable($name);
    }
static function register(string $name, CaptchaInterface $captcha) {
        if (isset(self::$_captchaList[$name]))
            Console::warning("Overwriting captcha generator \"$name\".");
        self::$_captchaList[$name] = $captcha;
        self::enable($name);
    }
static function register ( string $ name , CaptchaInterface $ captcha ) { if ( isset ( self :: $ _captchaList [ $ name ] ) ) Console :: warning ( "Overwriting captcha generator \"$name\"." ) ; self :: $ _captchaList [ $ name ] = $ captcha ; self :: enable ( $ name ) ; }
Register a new captcha generator.

@param string $name
@param CaptchaInterface $captcha
Register a new captcha generator .