Properties

$usageType

$usageType : 

Type

$display

$display : 

Type

$description

$description : 

Type

$contentType

$contentType : 

Type

$length

$length : 

Type

$sha2

$sha2 : 

Type

$fileUrl

$fileUrl : 

Type

$_content

$_content : 

Type

$signatureSkipProperties

$signatureSkipProperties : 

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

setUsageType()

setUsageType(  $value) 

Parameters

$value

getUsageType()

getUsageType() 

setDisplay()

setDisplay(  $value) 

Parameters

$value

getDisplay()

getDisplay() 

setDescription()

setDescription(  $value) 

Parameters

$value

getDescription()

getDescription() 

setContentType()

setContentType(  $value) 

Parameters

$value

getContentType()

getContentType() 

setLength()

setLength(  $value) 

Parameters

$value

getLength()

getLength() 

setSha2()

setSha2(  $value) 

Parameters

$value

getSha2()

getSha2() 

setFileUrl()

setFileUrl(  $value) 

Parameters

$value

getFileUrl()

getFileUrl() 

setContent()

setContent(  $value) 

Parameters

$value

getContent()

getContent() 

hasContent()

hasContent() 

_fromArray()

_fromArray(  $options) 

Parameters

$options

doMatch()

doMatch(  $a,   $b,   $description) 

Parameters

$a
$b
$description