\App\IqrfNetModule\EntitiesIqrfOs

IQRF OS entity

Summary

Methods
Properties
Constants
__construct()
fromOsRead()
getBuild()
getDescription()
getTrSeries()
getVersion()
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(  build,   version, \App\IqrfNetModule\Entities\TrSeries|null  trSeries = null) : 

Constructor

Parameters

build

IQRF OS build

version

IQRF OS version

\App\IqrfNetModule\Entities\TrSeries|null trSeries

IQRF TR series

Returns

fromOsRead()

fromOsRead(mixed||string|int  api) : \App\IqrfNetModule\Entities\IqrfOs

Creates a new IQRF OS entity from DPA OS Read response

Parameters

mixed||string|int api

API request and response

Returns

\App\IqrfNetModule\Entities\IqrfOs —

IQRF OS entity

getBuild()

getBuild() : 

Returns IQRF OS build

Returns

IQRF OS build

getDescription()

getDescription() : 

Returns IQRF OS description

Returns

IQRF OS description

getTrSeries()

getTrSeries() : \App\IqrfNetModule\Entities\TrSeries|null

Returns IQRF TR series

Returns

\App\IqrfNetModule\Entities\TrSeries|null —

IQRF TR series

getVersion()

getVersion(  pretty = false) : 

Returns IQRF OS version

Parameters

pretty

Pretty output?

Returns

IQRF OS version