You are here

interface DataCollectorInterface in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-kernel/DataCollector/DataCollectorInterface.php \Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface

DataCollectorInterface.

@author Fabien Potencier <fabien@symfony.com>

Hierarchy

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 22

Namespace

Symfony\Component\HttpKernel\DataCollector
View source
interface DataCollectorInterface {

  /**
   * Collects data for the given Request and Response.
   *
   * @param Request    $request   A Request instance
   * @param Response   $response  A Response instance
   * @param \Exception $exception An Exception instance
   */
  public function collect(Request $request, Response $response, \Exception $exception = null);

  /**
   * Returns the name of the collector.
   *
   * @return string The collector name
   */
  public function getName();

}

Members

Namesort descending Modifiers Type Description Overrides
DataCollectorInterface::collect public function Collects data for the given Request and Response. 11
DataCollectorInterface::getName public function Returns the name of the collector. 11