\App\ConfigModule\FormsWebSocketFormFactory

WebSocket interface 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
$manager
$factory
$presenter
N/A

Properties

$manager

$manager : \App\ConfigModule\Models\WebSocketManager

Type

normal — WebSocket configuration manager

$factory

$factory : \App\CoreModule\Forms\FormFactory

Type

normal — Generic form factory

$presenter

$presenter : \App\ConfigModule\Presenters\WebsocketPresenter

Type

normal — WebSocket interface presenter

Methods

__construct()

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

Constructor

Parameters

\App\ConfigModule\Models\WebSocketManager $manager

WebSocket configuration manager

\App\CoreModule\Forms\FormFactory $factory

Generic form factory

Returns

mixed

create()

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

Creates the WebSocket interface configuration form

Parameters

\App\ConfigModule\Presenters\WebsocketPresenter $presenter

WebSocket interface configuration presenter

Throws

\Nette\Utils\JsonException

Returns

\Nette\Application\UI\Form —

WebSocket interface configuration form

save()

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

Saves the WebSocket interface configuration

Parameters

\Nette\Application\UI\Form $form

WebSocket interface configuration form

Throws

\Nette\Utils\JsonException