public function getServerParam($name, $default = null)
    {
        $params = $this->getServerParams();
        if (!isset($params[$name])) {
            return $default;
        }
        return $params[$name];
    }
public function getServerParam($name, $default = null)
    {
        $params = $this->getServerParams();
        if (!isset($params[$name])) {
            return $default;
        }
        return $params[$name];
    }
public function getServerParam ( $ name , $ default = null ) { $ params = $ this -> getServerParams ( ) ; if ( ! isset ( $ params [ $ name ] ) ) { return $ default ; } return $ params [ $ name ] ; }
Return the server environment parameter by name.
@param string $name parameter name.
@param mixed $default default value to return if the parameter does not exist.
@return mixed parameter value.
@since 3.0.0
Return the server environment parameter by name .