Pop\Config::getConfigObject PHP Method

getConfigObject() protected method

Method to get the config values as ArrayObject
protected getConfigObject ( ) : void
return void
    protected function getConfigObject()
    {
        foreach ($this->config as $key => $value) {
            $this->array[$key] = $value instanceof Config ? $value->asArrayObject() : $value;
        }
    }