\ManaPHP\HttpCaptchaInterface

Summary

Methods
Constants
generate()
verify()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

generate()

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

Parameters

integer $width
integer $height
integer $ttl

Returns

\ManaPHP\Http\ResponseInterface

verify()

verify(string  $code = null, boolean  $isTry = false) : void

Parameters

string $code
boolean $isTry

Throws

\ManaPHP\Http\Captcha\InvalidCaptchaException