protected function emitBody(ResponseInterface $response)
    {
        while (ob_get_level()) {
            ob_end_flush();
        }

        $body = $response->getBody();
        if ($body->getSize()) {
            echo $body;
        }

        return $this;
    }
protected function emitBody(ResponseInterface $response)
    {
        while (ob_get_level()) {
            ob_end_flush();
        }

        $body = $response->getBody();
        if ($body->getSize()) {
            echo $body;
        }

        return $this;
    }
protected function emitBody ( ResponseInterface $ response ) { while ( ob_get_level ( ) ) { ob_end_flush ( ) ; } $ body = $ response -> getBody ( ) ; if ( $ body -> getSize ( ) ) { echo $ body ; } return $ this ; }
Emits body.

@param \Psr\Http\Message\ResponseInterface $response The response

@return self
Emits body .