public function setConfig(array $config) { foreach ($config as $key => $value) { $this->_config[$key] = $value; } return $this; }