Properties

$type

$type : 

Type

$name

$name : 

Type

$description

$description : 

Type

$moreInfo

$moreInfo : 

Type

$extensions

$extensions : 

Type

$interactionType

$interactionType : 

Type

$correctResponsesPattern

$correctResponsesPattern : 

Type

$choices

$choices : 

Type

$scale

$scale : 

Type

$source

$source : 

Type

$target

$target : 

Type

$steps

$steps : 

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

setType()

setType(  $value) 

Parameters

$value

getType()

getType() 

setName()

setName(  $value) 

Parameters

$value

getName()

getName() 

setDescription()

setDescription(  $value) 

Parameters

$value

getDescription()

getDescription() 

setMoreInfo()

setMoreInfo(  $value) 

Parameters

$value

getMoreInfo()

getMoreInfo() 

setExtensions()

setExtensions(  $value) 

Parameters

$value

getExtensions()

getExtensions() 

setInteractionType()

setInteractionType(  $value) 

Parameters

$value

getInteractionType()

getInteractionType() 

setCorrectResponsesPattern()

setCorrectResponsesPattern(  $value) 

Parameters

$value

getCorrectResponsesPattern()

getCorrectResponsesPattern() 

setChoices()

setChoices(  $value) 

Parameters

$value

getChoices()

getChoices() 

setScale()

setScale(  $value) 

Parameters

$value

getScale()

getScale() 

setSource()

setSource(  $value) 

Parameters

$value

getSource()

getSource() 

setTarget()

setTarget(  $value) 

Parameters

$value

getTarget()

getTarget() 

setSteps()

setSteps(  $value) 

Parameters

$value

getSteps()

getSteps() 

_fromArray()

_fromArray(  $options) 

Parameters

$options