From 4b81fc105e3f8ee908be4b9c73f5282b481eb7a6 Mon Sep 17 00:00:00 2001 From: "R. Eric Wheeler" Date: Mon, 6 Nov 2017 11:26:06 -0800 Subject: [PATCH] Added arrayconfig setting for original array --- src/Sikofitt/Config/DotConfig.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Sikofitt/Config/DotConfig.php b/src/Sikofitt/Config/DotConfig.php index ed9ca2a..7992b18 100644 --- a/src/Sikofitt/Config/DotConfig.php +++ b/src/Sikofitt/Config/DotConfig.php @@ -32,6 +32,7 @@ use Symfony\Component\Yaml\Yaml; class DotConfig { private $config; + private $arrayConfig; /** * Configuration constructor. @@ -50,7 +51,7 @@ class DotConfig $file = $fileLocator->locate('config.yaml', $configDirectory); $contents = file_get_contents($file); $data = Yaml::parse($contents); - + $this->arrayConfig = $data; $this->config = new Data($data); }