3 * Zend Framework (http://framework.zend.com/)
5 * @link http://github.com/zendframework/zf2 for the canonical source repository
6 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
7 * @license http://framework.zend.com/license/new-bsd New BSD License
10 namespace Zend\Captcha
;
12 use Zend\Validator\ValidatorInterface
;
15 * Generic Captcha adapter interface
17 * Each specific captcha implementation should implement this interface
19 interface AdapterInterface
extends ValidatorInterface
22 * Generate a new captcha
24 * @return string new captcha ID
26 public function generate();
32 * @return AdapterInterface
34 public function setName($name);
41 public function getName();
44 * Get helper name to use when rendering this captcha type
48 public function getHelperName();