|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Read a json-formatted config from a file and overwrite some fields. More...
Collaboration diagram for ILIAS\Setup\CLI\ConfigReader:Public Member Functions | |
| __construct ($base_dir=null) | |
| readConfigFile (string $name, array $overwrites=[]) | |
| TODO: We could use the "give me a transformation and I'll give you your
result" pattern from the input paper here. More... | |
Protected Member Functions | |
| applyOverwrites (array $json, array $overwrites) | |
| getRealFilename (string $name) | |
Protected Attributes | |
| $base_dir | |
Read a json-formatted config from a file and overwrite some fields.
Definition at line 17 of file ConfigReader.php.
| ILIAS\Setup\CLI\ConfigReader::__construct | ( | $base_dir = null | ) |
Definition at line 24 of file ConfigReader.php.
References ILIAS\Setup\CLI\ConfigReader\$base_dir.
|
protected |
Definition at line 55 of file ConfigReader.php.
Referenced by ILIAS\Setup\CLI\ConfigReader\readConfigFile().
Here is the caller graph for this function:
|
protected |
Definition at line 75 of file ConfigReader.php.
References $name.
Referenced by ILIAS\Setup\CLI\ConfigReader\readConfigFile().
Here is the caller graph for this function:| ILIAS\Setup\CLI\ConfigReader::readConfigFile | ( | string | $name, |
| array | $overwrites = [] |
||
| ) |
TODO: We could use the "give me a transformation and I'll give you your result" pattern from the input paper here.
| array | $overwrites | is a list of fields that should be overwritten with with the contained variables. The keys define which field (e.g. "a.b.c") should be overwritten with which value. |
Definition at line 38 of file ConfigReader.php.
References $name, ILIAS\Setup\CLI\ConfigReader\applyOverwrites(), and ILIAS\Setup\CLI\ConfigReader\getRealFilename().
Here is the call graph for this function:
|
protected |
Definition at line 22 of file ConfigReader.php.
Referenced by ILIAS\Setup\CLI\ConfigReader\__construct().