PluginTriggers
in package
This is the plugin Trigger class in the LogiCommerce SDK package.
For execute actions when triggers
Tags
Table of Contents
execute() | Execute all plugin actions for a trigger event | : array<string|int, mixed> |
---|
Methods
execute()
Execute all plugin actions for a trigger event
public
static execute(string $triggerName, Plugin $plugin, mixed $data) : array<string|int, mixed>
Return array with all actions result
Parameters
- $triggerName : string
- $plugin : Plugin
- $data : mixed