src/ServerRequest.php
public function getServerParam($name, $default = null)
    {
        if (isset($this->serverParams[$name])) {
            return $this->serverParams[$name];
        }

        return $default;
    }
public function getServerParam($name, $default = null)
    {
        if (isset($this->serverParams[$name])) {
            return $this->serverParams[$name];
        }

        return $default;
    }
public function getServerParam ( $ name , $ default = null ) { if ( isset ( $ this -> serverParams [ $ name ] ) ) { return $ this -> serverParams [ $ name ] ; } return $ default ; }
Gets the server parameter.

@param string $name    The name of parameter
@param mixed  $default The default value

@return mixed Returns the parameter value if parameter exists,
$default otherwise
Gets the server parameter .