Skip to content

configDir

github-actions edited this page Mar 27, 2026 · 1 revision

Creates a directory-based configuration provider.

If the recursive flag is TRUE, nested directories SHALL be included in the scan. Configuration files MUST follow the PHP file format.


  • Full name: configDir
  • Defined in: src/functions.php

Parameters

Parameter Type Description
$rootDirectory string the directory to load configuration files from
$recursive bool whether to include files in subdirectories recursively
$cachedConfigFile string|null optional path to a cache file for the configuration

Return Value

\FastForward\Config\ConfigInterface

the resulting configuration provider instance

Clone this wiki locally