diff --git a/src/Controller/ConfigController.php b/src/Controller/ConfigController.php new file mode 100644 index 0000000..31165e1 --- /dev/null +++ b/src/Controller/ConfigController.php @@ -0,0 +1,50 @@ +config = json_decode(json: $configJSON, associative: true); + + if ($verbose) { + $this->config['verbose'] = true; + } else { + $this->config['verbose'] = false; + } + } + + public function getConfig(string $configKey): string { + return $this->config[$configKey]; + } +} +