\App\GatewayModule\ModelsUpdaterManager

Tool for updating packages of IQRF Gateways

Summary

Methods
Properties
Constants
__construct()
listUpgradable()
getUpgradable()
update()
upgrade()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$packageManager
$packageManagers
N/A

Properties

$packageManager

$packageManager : \App\GatewayModule\Models\PackageManagers\IPackageManager

Type

normal — Adapter for package manager

$packageManagers

$packageManagers : string[]

Type

normal — Adapters for package managers

Methods

__construct()

__construct(\App\CoreModule\Models\CommandManager  $commandManager) : mixed

Constructor

Parameters

\App\CoreModule\Models\CommandManager $commandManager

Command manager

Returns

mixed

listUpgradable()

listUpgradable(callable  $callback) : void

Lists upgradable packages

Parameters

callable $callback

Callback

getUpgradable()

getUpgradable() : array

Returns list of upgradable packages

Returns

array —

Upgradable packages

update()

update(callable  $callback) : void

Updates a list of packages

Parameters

callable $callback

Callback

upgrade()

upgrade(callable  $callback) : void

Upgrades packages

Parameters

callable $callback

Callback