ReportTransaction
extends ServiceClient
in package
Table of Contents
- VERSION = 'v1.21.0'
- __construct() : mixed
- report() : void
Constants
VERSION
public
mixed
VERSION
= 'v1.21.0'
Methods
__construct()
public
__construct(int $accountId, string $licenseKey[, array<string|int, mixed> $options = [] ]) : mixed
Parameters
- $accountId : int
-
Your MaxMind account ID
- $licenseKey : string
-
Your MaxMind license key
- $options : array<string|int, mixed> = []
-
An array of options. Possible keys:
-
host
- The host to use when connecting to the web service. -
userAgent
- The prefix for the User-Agent header to use in the request. -
caBundle
- The bundle of CA root certificates to use in the request. -
connectTimeout
- The connect timeout to use for the request. -
timeout
- The timeout to use for the request. -
proxy
- The HTTP proxy to use. May include a schema, port, username, and password, e.g.,http://username:password@127.0.0.1:10
. -
validateInput
- Default istrue
. Determines whether values passed to thewith*()
methods are validated. It is recommended that you leave validation on while developing and only (optionally) disable it before deployment.
-
Return values
mixed —report()
public
report(array<string|int, mixed> $values) : void
Parameters
- $values : array<string|int, mixed>
-
the transaction parameters