DataCollectorInterface.
@author Fabien Potencier <fabien@symfony.com>
@api
Expanded class hierarchy of DataCollectorInterface
All classes that implement DataCollectorInterface
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
*
* @api
*/
public function collect(Request $request, Response $response, \Exception $exception = null);
/**
* Returns the name of the collector.
*
* @return string The collector name
*
* @api
*/
public function getName();
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DataCollectorInterface:: |
public | function | Collects data for the given Request and Response. | 8 |
DataCollectorInterface:: |
public | function | Returns the name of the collector. | 8 |