protected function getConfigObject() { foreach ($this->config as $key => $value) { $this->array[$key] = $value instanceof Config ? $value->asArrayObject() : $value; } }