\MaxMind\MinFraud\ModelAbstractModel

Class AbstractModel.

Summary

Methods
Properties
Constants
__construct()
jsonSerialize()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(array  $response, array  $locales = ['en']) : mixed

Parameters

array $response

the array corresponding to the object in the minFraud Insights response

array $locales

list of locale codes to use in name property from most preferred to least preferred

Returns

mixed

jsonSerialize()

jsonSerialize() : array

Returns

array —

data that can be serialized by json_encode