Skip to content

configFile

github-actions[bot] edited this page Oct 9, 2026 · 1 revision

Creates a PHP file configuration provider.

Configuration files MUST follow the PHP file format and return an array.


  • Full name: configFile
  • Defined in: functions.php

Parameters

Parameter Type Description
$file string the path to the PHP configuration file
$persistent bool whether changes should be saved back to the file
$defaultConfig array<string,mixed>|\FastForward\Config\ConfigInterface|null optional default configuration when the file does not exist

Return Value

\FastForward\Config\ConfigInterface

the resulting configuration instance

Clone this wiki locally