\App\ConfigModule\FormsMonitorFormFactory

Daemon's monitor service configuration form factory

Summary

Methods
Properties
Constants
__construct()
create()
save()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$factory
$presenter
$manager
N/A

Properties

$factory

$factory : \App\CoreModule\Forms\FormFactory

Type

normal — Generic form factory

$presenter

$presenter : \App\ConfigModule\Presenters\MonitorPresenter

Type

normal — Daemon's monitor service configuration presenter

$manager

$manager : \App\ConfigModule\Models\MonitorManager

Type

normal — Daemon's monitor service manager

Methods

__construct()

__construct(\App\CoreModule\Forms\FormFactory  $factory, \App\ConfigModule\Models\MonitorManager  $manager) : mixed

Constructor

Parameters

\App\CoreModule\Forms\FormFactory $factory

Generic form factory

\App\ConfigModule\Models\MonitorManager $manager

Daemon's monitor service manager

Returns

mixed

create()

create(\App\ConfigModule\Presenters\MonitorPresenter  $presenter) : \Nette\Application\UI\Form

Creates the daemon's monitor service configuration form

Parameters

\App\ConfigModule\Presenters\MonitorPresenter $presenter

Daemon's monitor service configuration presenter

Throws

\Nette\Utils\JsonException

Returns

\Nette\Application\UI\Form —

Daemon's monitor service configuration form

save()

save(\Nette\Application\UI\Form  $form) : void

Saves the Daemon's monitor service configuration

Parameters

\Nette\Application\UI\Form $form

Daemon's monitor service configuration form

Throws

\Nette\Utils\JsonException