jeyroik / df-templates-triggers
There is no license information available for the latest version (0.1.0) of this package.
Templates for DF triggers
0.1.0
2023-08-09 15:09 UTC
Requires
Requires (Dev)
This package is auto-updated.
Last update: 2024-11-09 17:56:10 UTC
README
df-templates-triggers
Templates for DF triggers
Library provide IContextTrigger
.
usage
$ts = new TemplateService(); $templates = $ts->getTemplates($someRepo, new ContextTrigger([ ContextTrigger::FIELD__PARAMS => [ ContextTrigger::PARAM__FOR => [ IParam::FIELD__NAME => ContextTrigger::PARAM__FOR, IParam::FIELD__VALUE => ETrigger::Event ], ContextTrigger::PARAM__TRIGGER => [ IParam::FIELD__NAME => ContextTrigger::PARAM__TRIGGER, IParam::FIELD__VALUE => $trigger ] ] ]));