\Iqrf\Repository\EntitiesStandard

IQRF Standard entity

Summary

Methods
Properties
Constants
__construct()
fromArray()
getId()
getName()
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) : 

Constructor

Parameters

id

Standard ID

name

Standard name

Returns

fromArray()

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

Creates a new standard entity from an array

Parameters

mixed|string|string|int data

JSON data in an array

Returns

\Iqrf\Repository\Entities\Standard —

Created standard entity

getId()

getId() : 

Returns the standard ID

Returns

Standard ID

getName()

getName() : 

Returns the standard name

Returns

Standard name