private static function getServerParam(ServerRequestInterface $request, string $key, string $default = '-'): string
    {
        $server = $request->getServerParams();

        return empty($server[$key]) ? $default : $server[$key];
    }
private static function getServerParam(ServerRequestInterface $request, string $key, string $default = '-'): string
    {
        $server = $request->getServerParams();

        return empty($server[$key]) ? $default : $server[$key];
    }
private static function getServerParam ( ServerRequestInterface $ request , string $ key , string $ default = '-' ) : string { $ server = $ request -> getServerParams ( ) ; return empty ( $ server [ $ key ] ) ? $ default : $ server [ $ key ] ; }
Returns an server parameter value
Returns an server parameter value