Added arrayconfig setting for original array

This commit is contained in:
R. Eric Wheeler 2017-11-06 11:26:06 -08:00
parent 52b7e68b60
commit 4b81fc105e
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}