\TinCanAgentAccount

Summary

Methods
Properties
Constants
fromJSON()
asVersion()
__set()
compareWithSignature()
__construct()
setName()
getName()
setHomePage()
getHomePage()
No public properties found
No constants found
No protected methods found
$name
$homePage
N/A
_fromArray()
doMatch()
No private properties found
N/A

Properties

$name

$name : 

Type

$homePage

$homePage : 

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() 

setName()

setName(  $value) 

Parameters

$value

getName()

getName() 

setHomePage()

setHomePage(  $value) 

Parameters

$value

getHomePage()

getHomePage() 

_fromArray()

_fromArray(  $options) 

Parameters

$options

doMatch()

doMatch(  $a,   $b,   $description) 

Parameters

$a
$b
$description