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

Breadcrumb

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

function Profiler::add

Adds a Collector.

1 call to Profiler::add()
Profiler::set in vendor/symfony/http-kernel/Profiler/Profiler.php
Sets the Collectors associated with this profiler.

File

vendor/symfony/http-kernel/Profiler/Profiler.php, line 199

Class

Profiler
Profiler.

Namespace

Symfony\Component\HttpKernel\Profiler

Code

public function add(DataCollectorInterface $collector) : void {
    $this->collectors[$collector->getName()] = $collector;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal