create($config); } /** * get CAPTCHA api * * @param Captcha $captcha * @param string $config * @return array|mixed * @throws Exception */ public function getCaptchaApi(Captcha $captcha, string $config = 'default') { return $captcha->create($config, true); } }