public function setServer(array $server = []): Request
    {
        $server = $server
            ?: $_SERVER;

        $this->server = new Server($server);

        return $this;
    }
public function setServer(array $server = []): Request
    {
        $server = $server
            ?: $_SERVER;

        $this->server = new Server($server);

        return $this;
    }
public function setServer ( array $ server = [ ] ) : Request { $ server = $ server ? : $ _SERVER ; $ this -> server = new Server ( $ server ) ; return $ this ; }
Set the SERVER parameters.

@param array $server

@return \Valkyrja\Http\Request
Set the SERVER parameters .