public function DataCollectorInterface::collect

Collects data for the given Request and Response.

@api

Parameters

Request $request A Request instance:

Response $response A Response instance:

\Exception $exception An Exception instance:

9 methods override DataCollectorInterface::collect()
ConfigDataCollector::collect in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/DataCollector/ConfigDataCollector.php
Collects data for the given Request and Response.
EventDataCollector::collect in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/DataCollector/EventDataCollector.php
Collects data for the given Request and Response.
ExceptionDataCollector::collect in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/DataCollector/ExceptionDataCollector.php
Collects data for the given Request and Response.
LoggerDataCollector::collect in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/DataCollector/LoggerDataCollector.php
Collects data for the given Request and Response.
MemoryDataCollector::collect in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/DataCollector/MemoryDataCollector.php
Collects data for the given Request and Response.

... See full list

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/DataCollector/DataCollectorInterface.php, line 35

Class

DataCollectorInterface
DataCollectorInterface.

Namespace

Symfony\Component\HttpKernel\DataCollector

Code

public function collect(Request $request, Response $response, \Exception $exception = null);