original_string: protected function resetOutput()
      {
          if ($this->baseResponse instanceof GlobalEnvironmentInterface) {
              $this->baseResponse = $this->baseResponse->revive();
          }
          
          // Clear output buffer
          if (isset($this->baseResponse) && $this->baseResponse->getBody() instanceof OutputBufferStream) {
              $this->baseResponse = $this->baseResponse->withBody(clone $this->baseResponse->getBody());
          }
      }
code: protected function resetOutput()
      {
          if ($this->baseResponse instanceof GlobalEnvironmentInterface) {
              $this->baseResponse = $this->baseResponse->revive();
          }
          
          // Clear output buffer
          if (isset($this->baseResponse) && $this->baseResponse->getBody() instanceof OutputBufferStream) {
              $this->baseResponse = $this->baseResponse->withBody(clone $this->baseResponse->getBody());
          }
      }
code_tokens: protected function resetOutput ( ) { if ( $ this -> baseResponse instanceof GlobalEnvironmentInterface ) { $ this -> baseResponse = $ this -> baseResponse -> revive ( ) ; } // Clear output buffer if ( isset ( $ this -> baseResponse ) && $ this -> baseResponse -> getBody ( ) instanceof OutputBufferStream ) { $ this -> baseResponse = $ this -> baseResponse -> withBody ( clone $ this -> baseResponse -> getBody ( ) ) ; } }
docstring: Reset the response
docstring_tokens: Reset the response