\Iqrf\Repository\EntitiesStandardWithVersions

IQRF Standard with all available versions entity

Summary

Methods
Properties
Constants
__construct()
fromArray()
getId()
getName()
getVersions()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(  id,   name, float||string|int  versions) : 

Constructor

Parameters

id

Standard ID

name

Standard name

float||string|int versions

Array of available versions

Returns

fromArray()

fromArray(mixed|string|string|int  data) : \Iqrf\Repository\Entities\StandardWithVersions

Creates an new IQRF Standard with all avaiable versions entity

Parameters

mixed|string|string|int data

JSON data in an array

Returns

\Iqrf\Repository\Entities\StandardWithVersions —

Created IQRF Standard with all available versions entity

getId()

getId() : 

Returns the standard ID

Returns

Standard ID

getName()

getName() : 

Returns the standard name

Returns

Standard name

getVersions()

getVersions() : float||string|int

Returns the array of available versions

Returns

float||string|int —

Array of available versions