Fusio

API / $dispatcher.dispatch

Dispatches a specific event and sends the payload to all subscribers. The payload gets json encoded so it is recommended to use i.e. an array or stdClass data type

Arguments
Name Type Description
$eventName string
$payload mixed