{ return isset($this->captcha); } /* * Get an instance of the Captcha class. * * @param SessionInterface $session * @param string $configName * * @return object */ public function getCaptchaInstance(SessionInterface $session = null, $configName = '') { if (!$this->captchaInstanceAlreadyCreated()) { $this->captcha = new BotDetectCaptchaHelper($session, $configName); } return $this->captcha; } /** * Get BotDetect Symfony CAPTCHA Bundle information. * * @return array */ public static function getProductInfo() { return self::$productInfo; } } // static field initialization BotDetectCaptcha::$productInfo = array('name' => 'BotDetect 4 PHP Captcha generator integration for the Symfony framework', 'version' => '4.1.0');
{ return isset($this->captcha); } /* * Get an instance of the Captcha class. * * @param SessionInterface $session * @param array $config * * @return object */ public function getCaptchaInstance(SessionInterface $session = null, array $config = array()) { if (!$this->captchaInstanceAlreadyCreated()) { $this->captcha = new BotDetectCaptchaHelper($session, $config); } return $this->captcha; } /** * Get BotDetect Symfony CAPTCHA Bundle information. * * @return array */ public static function getProductInfo() { return self::$productInfo; } } // static field initialization BotDetectCaptcha::$productInfo = array('name' => 'BotDetect PHP Captcha integration for the Symfony framework', 'version' => '3.3.2');