Overview

Namespaces

  • MatthiasMullie
    • Minify
      • Exceptions
    • PathConverter
  • None
  • ReCaptcha
    • RequestMethod
  • TOTP

Classes

  • ReCaptcha
  • RequestParameters
  • Response

Interfaces

  • RequestMethod
  • Overview
  • Namespace
  • Class

Class Response

The response returned from the service.

Namespace: ReCaptcha
Located at Sources/ReCaptcha/Response.php
Methods summary
public static ReCaptcha\Response
# fromJson( string $json )

Build the response from the expected JSON returned by the service.

Build the response from the expected JSON returned by the service.

Parameters

$json

Returns

ReCaptcha\Response
public
# __construct( boolean $success, array $errorCodes = array() )

Constructor.

Constructor.

Parameters

$success
$errorCodes
public boolean
# isSuccess( )

Is success?

Is success?

Returns

boolean
public array
# getErrorCodes( )

Get error codes.

Get error codes.

Returns

array
API documentation generated by ApiGen