public function saveConfig($server = null)
    {
        if (is_array($server) && isset($server['name'])) {
            if (!isset($server['objectClass'])) {
                $server = $this->setDefaultServerUserObject($server);
            }
            $this->config['servers'][$server['name']] = $server;
        }

        return file_put_contents($this->path, $this->dumper->dump($this->config, 3));
    }