Documentation

FieldConfidence
in package

Confidence level of a field as returned by the V2 API.

Table of Contents

Constants

CERTAIN  = 'Certain'
HIGH  = 'High'
LOW  = 'Low'
MEDIUM  = 'Medium'

Properties

$value  : string

Methods

__construct()  : mixed
__toString()  : string
getValidValues()  : array<string|int, string>
getValue()  : string
isValid()  : bool

Constants

Properties

Methods

__construct()

public __construct(string $value) : mixed
Parameters
$value : string

Vale provided.

Tags
throws
InvalidArgumentException

Throws if an invalid value is provided.

getValidValues()

public static getValidValues() : array<string|int, string>
Return values
array<string|int, string>

getValue()

public getValue() : string
Return values
string

String representation.

isValid()

public static isValid(string $value) : bool
Parameters
$value : string

Value to check.

Return values
bool

True if the value is valid.


        
On this page

Search results