\TinCanAbout

Summary

Methods
Properties
Constants
fromJSON()
asVersion()
__set()
__construct()
setVersion()
getVersion()
setExtensions()
getExtensions()
No public properties found
No constants found
No protected methods found
$version
$extensions
N/A
_fromArray()
No private properties found
N/A

Properties

$version

$version : 

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

__construct()

__construct() 

setVersion()

setVersion(  $value) 

Parameters

$value

getVersion()

getVersion() 

setExtensions()

setExtensions(  $value) 

Parameters

$value

getExtensions()

getExtensions() 

_fromArray()

_fromArray(  $options) 

Parameters

$options