\App\ConfigModule\ModelsMainManager

Main configuration form factory

Summary

Methods
Properties
Constants
__construct()
load()
save()
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\ConfigModule\Models\JsonFileManager  fileManager) : 

Constructor

Parameters

\App\ConfigModule\Models\JsonFileManager fileManager

JSON file manager

Returns

load()

load() : mixed||string|int

Convert Main configuration form array to JSON array

Throws

\App\ConfigModule\Models\JsonException

Returns

mixed||string|int —

Array for form

save()

save(mixed||string|int  array) : 

Save Main daemon configuration

Parameters

mixed||string|int array

Main settings

Throws

\App\ConfigModule\Models\JsonException

Returns