\Iqrf\Repository\EntitiesPackageDetail

Detailed package entity

Summary

Methods
Properties
Constants
__construct()
fromArray()
getId()
getHwpid()
getHwpidVer()
getHandlerUrl()
getHandlerHash()
getOs()
getDpa()
getNotes()
getDriver()
getStandards()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$id
$hwpid
$hwpidVer
$handlerUrl
$handlerHash
$os
$dpa
$notes
$driver
$standards
N/A

Properties

$id

$id : int

Type

int — Package ID

$hwpid

$hwpid : int

Type

int — HWPID

$hwpidVer

$hwpidVer : int

Type

int — HWPID version

$handlerUrl

$handlerUrl : string

Type

string — Custom handler URL

$handlerHash

$handlerHash : string

Type

string — Custom handler hash

$os

$os : string

Type

string — IQRF OS build

$dpa

$dpa : string

Type

string — DPA version

$notes

$notes : string

Type

string — Package notes

$driver

$driver : string

Type

string — Driver code

$standards

$standards : \Iqrf\Repository\Entities\StandardDetail[]

Type

StandardDetail[] — Array of supported standards

Methods

__construct()

__construct(int  $id, int  $hwpid, int  $hwpidVer, string  $handlerUrl, string  $handlerHash, string  $os, string  $dpa, string  $notes, string  $driver, \Iqrf\Repository\Entities\StandardDetail[]  $standards) : mixed

Constructor

Parameters

int $id

Package ID

int $hwpid

HWPID

int $hwpidVer

HWPID version

string $handlerUrl

Custom handler URL

string $handlerHash

Custom handler hash

string $os

IQRF OS build

string $dpa

DPA version

string $notes

Package notes

string $driver

Driver code

\Iqrf\Repository\Entities\StandardDetail[] $standards

Array of supported standards

Returns

mixed —

fromArray()

fromArray(array<string,array<string,int|string>|int|string>  $data) : \Iqrf\Repository\Entities\PackageDetail

Creates a new detailed package entity from an array

Parameters

array|int|string> $data

JSON data in an array

Returns

\Iqrf\Repository\Entities\PackageDetail —

Created detailed package entity

getId()

getId() : int

Returns the package ID

Returns

int —

Package ID

getHwpid()

getHwpid() : int

Returns the HWPID

Returns

int —

HWPID

getHwpidVer()

getHwpidVer() : int

Returns the HWPID version

Returns

int —

HWPID version

getHandlerUrl()

getHandlerUrl() : string

Returns the custom handler URL

Returns

string —

Custom handler URL

getHandlerHash()

getHandlerHash() : string

Returns the custom handler hash

Returns

string —

Custom handler hash

getOs()

getOs() : string

Returns IQRF OS build

Returns

string —

IQRF OS build

getDpa()

getDpa() : string

Returns DPA version

Returns

string —

DPA version

getNotes()

getNotes() : string

Returns the package notes

Returns

string —

Package notes

getDriver()

getDriver() : string

Returns the driver code

Returns

string —

Driver code

getStandards()

getStandards() : \Iqrf\Repository\Entities\StandardDetail[]

Returns the array of supported standards

Returns

\Iqrf\Repository\Entities\StandardDetail[] —

Array of supported arrays