\App\ConfigModule\FormsWebSocketServiceFormFactory

WebSocket service configuration service form factory

Summary

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

Properties

$manager

$manager : \App\ConfigModule\Models\GenericManager

Type

normal — Generic config manager

$factory

$factory : \App\CoreModule\Forms\FormFactory

Type

normal — Generic form factory

$presenter

$presenter : \App\CoreModule\Presenters\ProtectedPresenter

Type

normal — Generic protected presenter

$redirect

$redirect : string

Type

normal — The presenter to redirect after save

Methods

__construct()

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

Constructor

Parameters

\App\ConfigModule\Models\GenericManager $manager

Generic configuration manager

\App\CoreModule\Forms\FormFactory $factory

Generic form factory

Returns

mixed

save()

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

Saves the generic configuration

Parameters

\Nette\Application\UI\Form $form

Configuration form

Throws

\Nette\Utils\JsonException

create()

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

Creates the WebSocket service configuration form

Parameters

\App\ConfigModule\Presenters\WebsocketPresenter $presenter

WebSocket interface configuration presenter

Throws

\Nette\Utils\JsonException

Returns

\Nette\Application\UI\Form —

WebSocket service configuration form