\Iqrf\Repository\EntitiesPackage

Package entity

Summary

Methods
Properties
Constants
__construct()
fromArray()
getId()
getHwpid()
getHwpidVer()
getHandlerUrl()
getHandlerHash()
getOs()
getDpa()
getNotes()
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,   hwpid,   hwpidVer,   handlerUrl,   handlerHash,   os,   dpa,   notes) : 

Constructor

Parameters

id

Package ID

hwpid

HWPID

hwpidVer

HWPID version

handlerUrl

Custom handler URL

handlerHash

Custom handler hash

os

IQRF OS build

dpa

DPA version

notes

Package notes

Returns

fromArray()

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

Creates a new package entity from an array

Parameters

mixed|string|string|int data

JSON data in an array

Returns

\Iqrf\Repository\Entities\Package —

Created package entity

getId()

getId() : 

Returns the package ID

Returns

Package ID

getHwpid()

getHwpid() : 

Returns the package HWPID

Returns

package HWPID

getHwpidVer()

getHwpidVer() : 

Returns the package HWPID version

Returns

Package HWPID version

getHandlerUrl()

getHandlerUrl() : 

Returns the package custom handler URL

Returns

Package custom handler URL

getHandlerHash()

getHandlerHash() : 

Returns the package custom handler hash

Returns

Package custom handler hash

getOs()

getOs() : 

Returns IQRF OS build

Returns

IQRF OS build

getDpa()

getDpa() : 

Returns DPA version

Returns

DPA version

getNotes()

getNotes() : 

Returns the package notes

Returns

Package notes