public function server($key = null) { if (null === $key) { return $this->server; } return isset($this->server[$key]) ? $this->server[$key] : null; }