\App\CloudModule\ModelsPixlaManager

PIXLA management system manager

Summary

Methods
Properties
Constants
__construct()
disableService()
enableService()
getServiceStatus()
getToken()
setToken()
No public properties found
FILE_NAME
No protected methods found
No protected properties found
N/A
No private methods found
$fileManager
$serviceManager
N/A

Constants

FILE_NAME

FILE_NAME = 'customer_id' : 

File containing PIXLA token

Properties

$fileManager

$fileManager : \App\CoreModule\Models\FileManager

Type

normal — File manager

$serviceManager

$serviceManager : \App\ServiceModule\Models\SystemDManager

Type

normal — SystemD service manager

Methods

__construct()

__construct(\App\CoreModule\Models\FileManager  $fileManager, \App\ServiceModule\Models\SystemDManager  $serviceManager) : mixed

Constructor

Parameters

\App\CoreModule\Models\FileManager $fileManager

File manager

\App\ServiceModule\Models\SystemDManager $serviceManager

SystemD service manager

Returns

mixed

disableService()

disableService() : void

Disables and stops PIXLA client service

enableService()

enableService() : void

Enables and starts PIXLA client service

getServiceStatus()

getServiceStatus() : bool

Returns PIXLA client service status

Returns

bool

getToken()

getToken() : string|null

Returns PIXLA token

Returns

string|null —

PIXLA token

setToken()

setToken(string  $token) : void

Sets new PIXLA token

Parameters

string $token

PIXLA token

Throws

\Nette\IOException

IO error