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