diff --git a/src/Service/Config.php b/src/Service/Config.php new file mode 100644 index 0000000..d750d36 --- /dev/null +++ b/src/Service/Config.php @@ -0,0 +1,40 @@ +config = json_decode(json: $configJSON, associative: true); + } + + public function getConfig(string $configKey): string + { + return $this->config[$configKey]; + } +} \ No newline at end of file