getExpressionsFromCfc()
Overview
public struct function getExpressionsFromCfc(
required string componentPath
, required string rootPath
)
Reads the configured rules engine expressions from the given handler CFC file. Returns a struct whose keys are IDs of expressions and whose values are the detailed configuration of the expression as defined in the handler CFC actions
Arguments
Name | Type | Required | Description |
---|---|---|---|
componentPath | string | Yes | Full mapped dotted path to the CFC, e.g. app.handlers.rules.expressions.myExpression |
rootPath | string | Yes | Root path of directory containing expressions, e.g. app.handlers.rules.expressions |