function() { $this->_current_cfg = []; $this->_cfg = []; $this->_root_element = false; $this->_current_element = false; foreach ( $this->_defaults as $k => $v ){ $this->_current_cfg[$k] = $v; } return $this; }