Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TracingDriver.php

function TracingDriver::dump

File

vendor/revolt/event-loop/src/EventLoop/Driver/TracingDriver.php, line 192

Class

TracingDriver

Namespace

Revolt\EventLoop\Driver

Code

public function dump() : string {
    $dump = "Enabled, referenced callbacks keeping the loop running: ";
    foreach ($this->enabledCallbacks as $callbackId => $_) {
        if (isset($this->unreferencedCallbacks[$callbackId])) {
            continue;
        }
        $dump .= "Callback identifier: " . $callbackId . "\r\n";
        $dump .= $this->getCreationTrace($callbackId);
        $dump .= "\r\n\r\n";
    }
    return \rtrim($dump);
}
RSS feed
Powered by Drupal