\Iqrf\Repository\EntitiesOsDpa

IQRF OS and DPA entity

Summary

Methods
Properties
Constants
__construct()
fromArray()
getOs()
getDpa()
getNotes()
getDownloadPath()
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(  os,   dpa,   notes,   downloadPath) : 

Constructor

Parameters

os

IQRF OS build

dpa

DPA version

notes

Notes

downloadPath

Download path

Returns

fromArray()

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

Creates a new IQRF OS and DPA entity from an array

Parameters

mixed|string|string|int data

JSON data in an array

Returns

\Iqrf\Repository\Entities\OsDpa —

Created IQRF OS and DPA entity

getOs()

getOs() : 

Returns the IQRF OS build

Returns

IQRF OS build

getDpa()

getDpa(  pretty = false) : 

Returns the DPA version

Parameters

pretty

Pretty formatting

Returns

DPA version

getNotes()

getNotes() : 

Returns the notes

Returns

Notes

getDownloadPath()

getDownloadPath() : 

Returns the download path

Returns

Download path