\App\ConfigModule\FormsWebSocketMessagingFormFactory

WebSocket messaging configuration form factory

Summary

Methods
Properties
Constants
__construct()
save()
create()
loadData()
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\Forms\GenericManager  manager, \App\ConfigModule\Forms\FormFactory  factory) : 

Constructor

Parameters

\App\ConfigModule\Forms\GenericManager manager

Generic configuration manager

\App\ConfigModule\Forms\FormFactory factory

Generic form factory

Returns

save()

save(\App\ConfigModule\Forms\Form  form) : 

Save generic configuration

Parameters

\App\ConfigModule\Forms\Form form

Configuration form

Throws

\App\ConfigModule\Forms\JsonException

Returns

create()

create(\App\ConfigModule\Forms\WebsocketPresenter  presenter) : \App\ConfigModule\Forms\Form

Create WebSocket messaging configuration form

Parameters

\App\ConfigModule\Forms\WebsocketPresenter presenter

WebSocket interface presenter

Throws

\App\ConfigModule\Forms\JsonException

Returns

\App\ConfigModule\Forms\Form —

WebSocket messaging configuration form

loadData()

loadData(\App\ConfigModule\Forms\WebsocketPresenter  presenter) : mixed||string|int

Load a configuration data for the form

Parameters

\App\ConfigModule\Forms\WebsocketPresenter presenter

WebSocket configuration presenter

Throws

\App\ConfigModule\Forms\JsonException

Returns

mixed||string|int —

Configuration in an array