\Acms\Services\UpdateLogger

Summary

Methods
Properties
Constants
__construct()
getDestinationPath()
init()
load()
terminate()
addMessage()
success()
fileUpdateSuccess()
error()
addPercentage()
No public properties found
No constants found
build()
$destinationPath
$json
N/A
No private methods found
No private properties found
N/A

Properties

$destinationPath

$destinationPath : string

Type

string

$json

$json : object

Type

object

Methods

__construct()

__construct(string  $path) 

Logger constructor.

Parameters

string $path

getDestinationPath()

getDestinationPath() : string

Getter $destinationPath

Returns

string

init()

init() 

初期化

load()

load() 

ファイルからロード

terminate()

terminate() 

終了処理

addMessage()

addMessage(string  $message, integer  $percentage, integer  $status = 1) 

メッセージを追加

Parameters

string $message
integer $percentage
integer $status

success()

success() 

成功時

fileUpdateSuccess()

fileUpdateSuccess() 

ファイルのアップデート成功時

error()

error(  $message) 

エラー処理

Parameters

$message

addPercentage()

addPercentage(  $percentage) 

Parameters

$percentage

build()

build() 

JSON出力