original_string: protected function buildResponse($html, ResponseInterface $response)
      {
          // @codeCoverageIgnoreStart
          $body = new Stream('php://memory', 'w');
          $body->write($html);
          $response = $response->withBody($body);
  
          return $response;
          // @codeCoverageIgnoreEnd
      }
code: protected function buildResponse($html, ResponseInterface $response)
      {
          // @codeCoverageIgnoreStart
          $body = new Stream('php://memory', 'w');
          $body->write($html);
          $response = $response->withBody($body);
  
          return $response;
          // @codeCoverageIgnoreEnd
      }
code_tokens: protected function buildResponse ( $ html , ResponseInterface $ response ) { // @codeCoverageIgnoreStart $ body = new Stream ( 'php://memory' , 'w' ) ; $ body -> write ( $ html ) ; $ response = $ response -> withBody ( $ body ) ; return $ response ; // @codeCoverageIgnoreEnd }
docstring: Builds response instance with HTML body from HTML passed in.
  
  @param string                              $html     HTML used for response body
  @param \Psr\Http\Message\ResponseInterface $response Response used as base for response
  
  @author Benjamin Carl <opensource@clickalicious.de>
  
  @return \Psr\Http\Message\ResponseInterface
  
  @throws \InvalidArgumentException
  @throws \RuntimeException
docstring_tokens: Builds response instance with HTML body from HTML passed in .