diff --git a/Config.php b/Config.php
index 90744c997d2b9b02c08b768c07f456c19daf136c..af4ce60667510a92132940b989c890efeba769ce 100644
--- a/Config.php
+++ b/Config.php
@@ -12,6 +12,11 @@ final class Config {
 
   private static $values;
 
+  /**
+   * @var string
+   */
+  private $component;
+
   /**
    * Config constructor.
    *
@@ -20,6 +25,7 @@ final class Config {
    * @param \LakeDrops\Component\Dotenv\Dotenv $env
    */
   public function __construct(string $component, array $default_values, Dotenv $env) {
+    $this->component = $component;
     $this->init();
     $componentValues = self::$values[$component] ?? [];
     self::$values[$component] = $env->replaceEnvironmentVariables(NestedArray::mergeDeep($default_values, $componentValues));
@@ -38,4 +44,32 @@ final class Config {
     }
   }
 
+  /**
+   * @param array $values
+   * @param array $keys
+   *
+   * @return mixed|null
+   */
+  private function readValueFromArray($values, $keys) {
+    $key = array_shift($keys);
+    if (!isset($values[$key])) {
+      return NULL;
+    }
+    if (empty($keys)) {
+      return $values[$key];
+    }
+    return $this->readValueFromArray($values[$key], $keys);
+
+  }
+
+  /**
+   * @param $path
+   *
+   * @return mixed|null
+   */
+  public function readValue($path) {
+    $parts = explode('/', $path);
+    return $this->readValueFromArray(self::$values[$this->component], $parts);
+  }
+
 }