Properties

$score

$score : 

Type

$success

$success : 

Type

$completion

$completion : 

Type

$duration

$duration : 

Type

$response

$response : 

Type

$extensions

$extensions : 

Type

Methods

fromJSON()

fromJSON(  $jsonStr) 

Parameters

$jsonStr

asVersion()

asVersion(mixed  $version) : array

Collects defined object properties for a given version into an array

Parameters

mixed $version

Returns

array

__set()

__set(string  $property, mixed  $value) 

Prevent external mutation

Parameters

string $property
mixed $value

Throws

\DomainException

compareWithSignature()

compareWithSignature(mixed  $fromSig) : array

Compares the instance with a provided instance for determining whether an object received in a signature is a meaningful match

Parameters

mixed $fromSig

Returns

array

__construct()

__construct() 

setScore()

setScore(  $value) 

Parameters

$value

getScore()

getScore() 

setSuccess()

setSuccess(  $value) 

Parameters

$value

getSuccess()

getSuccess() 

setCompletion()

setCompletion(  $value) 

Parameters

$value

getCompletion()

getCompletion() 

setDuration()

setDuration(  $value) 

Parameters

$value

getDuration()

getDuration() 

setResponse()

setResponse(  $value) 

Parameters

$value

getResponse()

getResponse() 

setExtensions()

setExtensions(  $value) 

Parameters

$value

getExtensions()

getExtensions() 

_fromArray()

_fromArray(  $options) 

Parameters

$options

doMatch()

doMatch(  $a,   $b,   $description) 

Parameters

$a
$b
$description

_asVersion()

_asVersion(  $result,   $version) 

Parameters

$result
$version