protected function setBody(StreamInterface $body)
    {
        if ($body instanceof OutputBufferStream && $this->isStale() === false) {
            $body->useGlobally();
        }
        
        $this->body = $body;
    }
protected function setBody(StreamInterface $body)
    {
        if ($body instanceof OutputBufferStream && $this->isStale() === false) {
            $body->useGlobally();
        }
        
        $this->body = $body;
    }
protected function setBody ( StreamInterface $ body ) { if ( $ body instanceof OutputBufferStream && $ this -> isStale ( ) === false ) { $ body -> useGlobally ( ) ; } $ this -> body = $ body ; }
Set the body

@param StreamInterface $body
Set the body