\Iqrf\Repository\ModelsServerManager

IQRF Repository server manager

Summary

Methods
Properties
Constants
getStatus()
__construct()
No public properties found
PATH
No protected methods found
$apiClient
N/A
No private methods found
No private properties found
N/A

Constants

PATH

PATH = 'server'

IQRF Repository server status path

Properties

$apiClient

$apiClient : \Iqrf\Repository\Utils\ApiClient

Type

\Iqrf\Repository\Utils\ApiClient

Methods

getStatus()

getStatus() : \Iqrf\Repository\Entities\ServerStatus

Returns IQRF Repository server status

Throws

\Iqrf\Repository\Exceptions\CorruptedData

Corrupted data in the API response

\Iqrf\Repository\Exceptions\ServiceUnavailable

IQRF Repository API is unavailable

Returns

\Iqrf\Repository\Entities\ServerStatus —

IQRF Repository server status

__construct()

__construct(\Iqrf\Repository\Utils\ApiClient  $apiClient) : mixed

Constructor

Parameters

\Iqrf\Repository\Utils\ApiClient $apiClient

JSON API client

Returns

mixed —