Zend\Captcha\Image::generateImage
Generate image captcha
Override this function if you want different image generator Wave transform from http://www.captcha.ru/captchas/multiwave/
Signature
protected function generateImage(string
$id,
string
$word )
Parameters
$id
— string- Captcha ID
$word
— string- Captcha word
Errors/Exceptions
-
NoFontProvidedException
- if no font was set
-
ImageNotLoadableException
- if start image cannot be loaded