Added arrayconfig setting for original array
This commit is contained in:
parent
52b7e68b60
commit
4b81fc105e
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue