public function setData($config) { if (is_array($config)) { $config = new \Zend_Config($config); } $this->_config = $config; return $this; }