Properties

$actor

$actor : 

Type

$verb

$verb : 

Type

$target

$target : 

Type

$result

$result : 

Type

$context

$context : 

Type

$timestamp

$timestamp : 

Type

$objectType

$objectType : 

Type

Methods

__construct()

__construct() 

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

setActor()

setActor(  $value) 

Parameters

$value

getActor()

getActor() 

setVerb()

setVerb(  $value) 

Parameters

$value

getVerb()

getVerb() 

setTarget()

setTarget(  $value) 

Parameters

$value

getTarget()

getTarget() 

setObject()

setObject(  $value) 

Parameters

$value

getObject()

getObject() 

setResult()

setResult(  $value) 

Parameters

$value

getResult()

getResult() 

setContext()

setContext(  $value) 

Parameters

$value

getContext()

getContext() 

setTimestamp()

setTimestamp(  $value) 

Parameters

$value

getTimestamp()

getTimestamp() 

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

getObjectType()

getObjectType() 

_asVersion()

_asVersion(  $result,   $version) 

Parameters

$result
$version

_fromArray()

_fromArray(  $options) 

Parameters

$options

doMatch()

doMatch(  $a,   $b,   $description) 

Parameters

$a
$b
$description