public function data($key = null) { if (!$key) { return $this->_config; } return isset($this->_config[$key]) ? $this->_config[$key] : null; }