| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
Read a json-formatted config from a file and overwrite some fields. More...
 Collaboration diagram for ILIAS\Setup\CLI\ConfigReader:Public Member Functions | |
| __construct (JsonParser $json_parser, string $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 | |
| JsonParser | $json_parser | 
| string | $base_dir | 
Read a json-formatted config from a file and overwrite some fields.
Definition at line 35 of file ConfigReader.php.
| ILIAS\Setup\CLI\ConfigReader::__construct | ( | JsonParser | $json_parser, | 
| string | $base_dir = null  | 
        ||
| ) | 
Definition at line 40 of file ConfigReader.php.
References ILIAS\Setup\CLI\ConfigReader\$json_parser.
      
  | 
  protected | 
Definition at line 76 of file ConfigReader.php.
References $path.
Referenced by ILIAS\Setup\CLI\ConfigReader\readConfigFile().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 96 of file ConfigReader.php.
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 55 of file ConfigReader.php.
References ILIAS\Setup\CLI\ConfigReader\applyOverwrites(), and ILIAS\Setup\CLI\ConfigReader\getRealFilename().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 38 of file ConfigReader.php.
      
  | 
  protected | 
Definition at line 37 of file ConfigReader.php.
Referenced by ILIAS\Setup\CLI\ConfigReader\__construct().