original_string: protected function htmlContent($content)
      {
          try {
  
              $this->getMbAudit()->setResponseType('html');
  
              if ($content instanceof \Exception) {
  
                  throw $content;
  
              } elseif ($content instanceof \SplFileInfo && !$this->getMbRequest()->isBlogAdmin()) {
  
                  $this->downloadFile($content);
  
              } elseif (!is_string($content) && !$content instanceof Renderable) {
  
                  $this->getMbAudit()->setResponseType('debug');
                  $this->getMbAudit()->setResponseData($content);
  
                  ob_start();
                  (new Dumper)->dump($content);
                  $this->original = ob_get_contents();
                  ob_end_clean();
  
              } else {
  
                  $this->getMbAudit()->setResponseData($content);
                  $this->original = $content;
  
              }
  
              parent::setContent($this->original);
  
          } catch (\Exception $e) {
  
              $this->getMbAudit()->setResponseData($e->getMessage());
  
              if ($this->getMbRequest()->isBlogAdmin()) {
                  $this->adminNotice($e->getMessage(), 'error');
              } else {
                  $this->original = "<strong>Erro:</strong> {$e->getMessage()}<br>";
              }
  
              parent::setContent($this->original);
          }
      }
code: protected function htmlContent($content)
      {
          try {
  
              $this->getMbAudit()->setResponseType('html');
  
              if ($content instanceof \Exception) {
  
                  throw $content;
  
              } elseif ($content instanceof \SplFileInfo && !$this->getMbRequest()->isBlogAdmin()) {
  
                  $this->downloadFile($content);
  
              } elseif (!is_string($content) && !$content instanceof Renderable) {
  
                  $this->getMbAudit()->setResponseType('debug');
                  $this->getMbAudit()->setResponseData($content);
  
                  ob_start();
                  (new Dumper)->dump($content);
                  $this->original = ob_get_contents();
                  ob_end_clean();
  
              } else {
  
                  $this->getMbAudit()->setResponseData($content);
                  $this->original = $content;
  
              }
  
              parent::setContent($this->original);
  
          } catch (\Exception $e) {
  
              $this->getMbAudit()->setResponseData($e->getMessage());
  
              if ($this->getMbRequest()->isBlogAdmin()) {
                  $this->adminNotice($e->getMessage(), 'error');
              } else {
                  $this->original = "<strong>Erro:</strong> {$e->getMessage()}<br>";
              }
  
              parent::setContent($this->original);
          }
      }
code_tokens: protected function htmlContent ( $ content ) { try { $ this -> getMbAudit ( ) -> setResponseType ( 'html' ) ; if ( $ content instanceof \ Exception ) { throw $ content ; } elseif ( $ content instanceof \ SplFileInfo && ! $ this -> getMbRequest ( ) -> isBlogAdmin ( ) ) { $ this -> downloadFile ( $ content ) ; } elseif ( ! is_string ( $ content ) && ! $ content instanceof Renderable ) { $ this -> getMbAudit ( ) -> setResponseType ( 'debug' ) ; $ this -> getMbAudit ( ) -> setResponseData ( $ content ) ; ob_start ( ) ; ( new Dumper ) -> dump ( $ content ) ; $ this -> original = ob_get_contents ( ) ; ob_end_clean ( ) ; } else { $ this -> getMbAudit ( ) -> setResponseData ( $ content ) ; $ this -> original = $ content ; } parent :: setContent ( $ this -> original ) ; } catch ( \ Exception $ e ) { $ this -> getMbAudit ( ) -> setResponseData ( $ e -> getMessage ( ) ) ; if ( $ this -> getMbRequest ( ) -> isBlogAdmin ( ) ) { $ this -> adminNotice ( $ e -> getMessage ( ) , 'error' ) ; } else { $ this -> original = "<strong>Erro:</strong> {$e->getMessage()}<br>" ; } parent :: setContent ( $ this -> original ) ; } }
docstring: Format content for html output
  
  @param $content
  
  @return void
docstring_tokens: Format content for html output