File: /var/www/vhost/disk-apps/magento.bikenow.co/vendor/laminas/laminas-captcha/src/Dumb.php
<?php
/**
* @see https://github.com/laminas/laminas-captcha for the canonical source repository
* @copyright https://github.com/laminas/laminas-captcha/blob/master/COPYRIGHT.md
* @license https://github.com/laminas/laminas-captcha/blob/master/LICENSE.md New BSD License
*/
namespace Laminas\Captcha;
/**
* Example dumb word-based captcha
*
* Note that only rendering is necessary for word-based captcha
*
* @todo This likely needs its own validation since it expects the word
* entered to be the strrev of the word stored.
*/
class Dumb extends AbstractWord
{
/**
* CAPTCHA label
*
* @var string
*/
protected $label = 'Please type this word backwards';
/**
* Set the label for the CAPTCHA
*
* @param string $label
* @return void
*/
public function setLabel($label)
{
$this->label = $label;
}
/**
* Retrieve the label for the CAPTCHA
*
* @return string
*/
public function getLabel()
{
return $this->label;
}
/**
* Retrieve optional view helper name to use when rendering this captcha
*
* @return string
*/
public function getHelperName()
{
return 'captcha/dumb';
}
}