\App\CoreModule\ModelsVersionManager

Tool for getting versions of IQRF Gateway Daemon and IQRF Gateway Daemon webapp

Summary

Methods
Properties
Constants
__construct()
availableWebappUpdate()
getInstalledWebapp()
getCurrentWebapp()
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(\App\CoreModule\Models\CommandManager  commandManager, \App\CoreModule\Models\IStorage  storage, \App\CoreModule\Models\Client  client) : 

Constructor

Parameters

\App\CoreModule\Models\CommandManager commandManager

Command manager

\App\CoreModule\Models\IStorage storage

Cache storage

\App\CoreModule\Models\Client client

HTTP(S) client

Returns

availableWebappUpdate()

availableWebappUpdate() : 

Check if an update is available for the webapp

Throws

\App\CoreModule\Models\JsonException

Returns

Is available an update for the webapp?

getInstalledWebapp()

getInstalledWebapp(  verbose = true) : 

Get the installed version of the webapp

Parameters

verbose

Is verbose mode enabled?

Throws

\App\CoreModule\Models\JsonException

Returns

Installed version of the webapp

getCurrentWebapp()

getCurrentWebapp() : 

Get the current stable version of the webapp

Throws

\App\CoreModule\Models\JsonException

Returns

Current stable version of the webapp