WebHookFormFillHandler
Class WebHookFormFillHandler.
Table of Contents
Methods
- __construct() : mixed
- WebHookFormFillHandler constructor
- getErrorCollection() : ErrorCollection
- Get error collection.
- handleEvent() : EventResult
- Handle form fill.
- process() : void
- Method for fill Crm-forms from external service
Methods
__construct()
WebHookFormFillHandler constructor
public
__construct(Batch $payload, Service $service) : mixed
Parameters
getErrorCollection()
Get error collection.
public
getErrorCollection() : ErrorCollection
Return values
ErrorCollectionhandleEvent()
Handle form fill.
public
static handleEvent(Event $event) : EventResult
Parameters
- $event : Event
-
Web hook event.
Return values
EventResultprocess()
Method for fill Crm-forms from external service
public
process() : void