public function toArrayConfig(ConfigInterface $config) { // TODO add general params return array('name' => $config->getName(), 'baseUrl' => $config->getBaseUrl(), 'version' => $config->getVersion(), 'general' => $this->toArrayGeneral($config->getGeneral())); }