DataCollectorInterface

interface DataCollectorInterface

DataCollectorInterface.

Methods

collect(Request $request, Response $response, Exception $exception = null)

Collects data for the given Request and Response.

string getName()

Returns the name of the collector.

reset()

Resets this data collector to its initial state.

Details

collect(Request $request, Response $response, Exception $exception = null)

Collects data for the given Request and Response.

Parameters

Request $request
Response $response
Exception $exception

string getName()

Returns the name of the collector.

Return Value

string The collector name

reset()

Resets this data collector to its initial state.

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/HttpKernel/DataCollector/DataCollectorInterface.html