public function __call($method, array $params = array()) { if ($params) { $this->_config[$method] = current($params); return $this; } return isset($this->_config[$method]) ? $this->_config[$method] : null; }