original_string: private function extractHostParameters($request, $info)
      {
          $hostname = $this->cleanHostName($request);
  
          if (empty($hostname)) {
              $params = [];
          } else {
              $params = array_reverse(explode(".", $hostname));
          }
  
          $parameters = $this->filterParameters($info['hostparameters'], $params);
          return $parameters;
      }
code: private function extractHostParameters($request, $info)
      {
          $hostname = $this->cleanHostName($request);
  
          if (empty($hostname)) {
              $params = [];
          } else {
              $params = array_reverse(explode(".", $hostname));
          }
  
          $parameters = $this->filterParameters($info['hostparameters'], $params);
          return $parameters;
      }
code_tokens: private function extractHostParameters ( $ request , $ info ) { $ hostname = $ this -> cleanHostName ( $ request ) ; if ( empty ( $ hostname ) ) { $ params = [ ] ; } else { $ params = array_reverse ( explode ( "." , $ hostname ) ) ; } $ parameters = $ this -> filterParameters ( $ info [ 'hostparameters' ] , $ params ) ; return $ parameters ; }
docstring: extract parameters from hostname
  
  @param ServerRequestInterface $request
  @param array $info
  @return array
docstring_tokens: extract parameters from hostname