BcCaptchaService
in package
implements
BcCaptchaServiceInterface
Class BcCaptchaService
Table of Contents
Interfaces
- BcCaptchaServiceInterface
- interface BcCaptchaServiceInterface
Methods
Methods
check()
認証を行う
public
check(ServerRequest $request, string $token, string $value) : bool
Parameters
- $request : ServerRequest
- $token : string
- $value : string
-
フォームから送信された文字列
Tags
Return values
boolrender()
キャプチャ画像を生成して画像データを返す
public
render(ServerRequest $request, string $token) : string
Parameters
- $request : ServerRequest
- $token : string
Tags
Return values
string —画像のバイナリデータ