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.

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

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