\App\GatewayModule\PresentersUpdaterPresenter

IQRF Gateway updater presenter

Summary

Methods
Properties
Constants
afterRender()
injectTranslator()
createTemplate()
__construct()
handleUpdate()
handleUpgrade()
showCommandOutput()
$versionManager
$lang
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$versionManager

$versionManager : \App\CoreModule\Presenters\VersionManager

Type

\App\CoreModule\Presenters\VersionManager — Version manager

$lang

$lang : 

Type

— Language

Methods

afterRender()

afterRender() : 

After template render

Returns

injectTranslator()

injectTranslator(\App\CoreModule\Presenters\Translator  translator) : 

Inject translator service

Parameters

\App\CoreModule\Presenters\Translator translator

Translator

Returns

createTemplate()

createTemplate() : \App\CoreModule\Presenters\ITemplate

Create an template

Returns

\App\CoreModule\Presenters\ITemplate —

Template

__construct()

__construct(\App\GatewayModule\Presenters\UpdaterManager  manager) : 

Constructor

Parameters

\App\GatewayModule\Presenters\UpdaterManager manager

Updater manager

Returns

handleUpdate()

handleUpdate() : 

Handle updating package's cache

Returns

handleUpgrade()

handleUpgrade() : 

Handle updating packages

Returns

showCommandOutput()

showCommandOutput(  type, string|null  buffer) : 

Shows shell command output

Parameters

type

Output type

string|null buffer

Output buffer

Returns