getExpressionsFromDirectory()
Overview
public struct function getExpressionsFromDirectory(
required string directory
)
Reads all the expressions from a directory of handler CFC files and returns a structure whose keys are the 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 |
---|---|---|---|
directory | string | Yes | mapped path to the directory, e.g. /app/handlers/rules/expressions |