original_string: protected function filterResponse($response)
      {
          // this is needed to support StreamedResponse
          ob_start();
          $response->sendContent();
          $content = ob_get_clean();
  
          return new DomResponse($content, $response->getStatusCode(), $response->headers->all());
      }
code: protected function filterResponse($response)
      {
          // this is needed to support StreamedResponse
          ob_start();
          $response->sendContent();
          $content = ob_get_clean();
  
          return new DomResponse($content, $response->getStatusCode(), $response->headers->all());
      }
code_tokens: protected function filterResponse ( $ response ) { // this is needed to support StreamedResponse ob_start ( ) ; $ response -> sendContent ( ) ; $ content = ob_get_clean ( ) ; return new DomResponse ( $ content , $ response -> getStatusCode ( ) , $ response -> headers -> all ( ) ) ; }
docstring: Converts the HttpKernel response to a BrowserKit response.
  
  @return DomResponse A DomResponse instance
docstring_tokens: Converts the HttpKernel response to a BrowserKit response .