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

Breadcrumb

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

interface DataCollectorInterface

DataCollectorInterface.

@author Fabien Potencier <fabien@symfony.com>

Hierarchy

  • interface \Symfony\Contracts\Service\ResetInterface
    • interface \Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface extends \Symfony\Contracts\Service\ResetInterface

Expanded class hierarchy of DataCollectorInterface

All classes that implement DataCollectorInterface

2 files declare their use of DataCollectorInterface
Profile.php in vendor/symfony/http-kernel/Profiler/Profile.php
Profiler.php in vendor/symfony/http-kernel/Profiler/Profiler.php

File

vendor/symfony/http-kernel/DataCollector/DataCollectorInterface.php, line 23

Namespace

Symfony\Component\HttpKernel\DataCollector
View source
interface DataCollectorInterface extends ResetInterface {
    
    /**
     * Collects data for the given Request and Response.
     *
     * @return void
     */
    public function collect(Request $request, Response $response, ?\Throwable $exception = null);
    
    /**
     * Returns the name of the collector.
     *
     * @return string
     */
    public function getName();

}

Members

Title Sort descending Modifiers Object type Summary Overrides
DataCollectorInterface::collect public function Collects data for the given Request and Response. 14
DataCollectorInterface::getName public function Returns the name of the collector. 14
ResetInterface::reset public function 12

API Navigation

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