\Iqrf\Repository\ModelsStandardManager

IQRF Standards manager

Summary

Methods
Properties
Constants
__construct()
list()
getVersions()
get()
No public properties found
PATH
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

PATH

PATH = standards

IQRF Standards path

Methods

__construct()

__construct(\Iqrf\Repository\Models\ApiClient  apiClient) : 

Constructor

Parameters

\Iqrf\Repository\Models\ApiClient apiClient

JSON API client

Returns

list()

list() : \Iqrf\Repository\Models\Standard||string|int

Lists all IQRF Standards

Throws

\Iqrf\Repository\Models\CorruptedData
\Iqrf\Repository\Models\ServiceUnavailable

Returns

\Iqrf\Repository\Models\Standard||string|int —

All IQRF Standards

getVersions()

getVersions(  id) : \Iqrf\Repository\Models\StandardWithVersions

Returns IQRF Standard versions

Parameters

id

IQRF Standard ID

Throws

\Iqrf\Repository\Models\CorruptedData
\Iqrf\Repository\Models\ServiceUnavailable

Returns

\Iqrf\Repository\Models\StandardWithVersions —

IQRF Standard versions

get()

get(  id,   version) : \Iqrf\Repository\Models\StandardDetail

Returns IQRF Standard

Parameters

id

IQRF Standard ID

version

IQRF Standard version

Throws

\Iqrf\Repository\Models\CorruptedData
\Iqrf\Repository\Models\ServiceUnavailable

Returns

\Iqrf\Repository\Models\StandardDetail —

IQRF Standard