code: protected function diagnose(OutputInterface $output, \Ciconia\Diagnose\Ciconia $ciconia, $content)
      {
          /* @var TableHelper $table */
          $table = $this->getHelper('table');
          $table->setHeaders([
              'Event', 'Callback', 'Duration', 'MEM Usage'
          ]);
  
          $table->addRow(['', 'render()', '-', '-']);
  
          $events = $ciconia->render($content);
  
          foreach ($events as $event) {
              $table->addRow([
                  $event->getEvent(),
                  str_repeat('  ', $event->getDepth()) . $event->getCallback(),
                  $event->getDuration(),
                  $event->getMemory()
              ]);
          }
  
          $table->render($output);
  
          return 0;
      }
docs: Diagnose
  
  @param OutputInterface           $output
  @param \Ciconia\Diagnose\Ciconia $ciconia
  @param string                    $content
  
  @return int