getExpressionsFromDirectories()

Overview

public struct function getExpressionsFromDirectories(
      required array directories
)

Reads all the expressions from an array of directories potentially containing 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

NameTypeRequiredDescription
directoriesarrayYesarray of mapped path to the directory, e.g. [ "/preside/system/handlers/rules/expressions", "/app/handlers/rules/expressions" ]