public function getServerParam($key, $default = null)
    {
        $serverParams = $this->serverRequest->getServerParams();
        return isset($serverParams[$key]) ? $serverParams[$key] : $default;
    }
public function getServerParam($key, $default = null)
    {
        $serverParams = $this->serverRequest->getServerParams();
        return isset($serverParams[$key]) ? $serverParams[$key] : $default;
    }
public function getServerParam ( $ key , $ default = null ) { $ serverParams = $ this -> serverRequest -> getServerParams ( ) ; return isset ( $ serverParams [ $ key ] ) ? $ serverParams [ $ key ] : $ default ; }
Retrieve a server parameter.

Note: This method is not part of the PSR-7 standard.

@param  string $key
@param  mixed  $default
@return mixed
Retrieve a server parameter .