PHP Interface ManaPHP\Security\CaptchaInterface

Mostra file Open project: manaphp/manaphp

Public Methods

Method Description
generate ( integer $width = 100, integer $height = 30, integer $ttl = 300 ) : ManaPHP\Http\ResponseInterface
tryVerify ( string $code ) : void
verify ( string $code ) : void

Method Details

generate() public method

public generate ( integer $width = 100, integer $height = 30, integer $ttl = 300 ) : ManaPHP\Http\ResponseInterface
$width integer
$height integer
$ttl integer
return ManaPHP\Http\ResponseInterface

tryVerify() public method

public tryVerify ( string $code ) : void
$code string
return void

verify() public method

public verify ( string $code ) : void
$code string
return void