interface DataCollectorInterface in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-kernel/DataCollector/DataCollectorInterface.php \Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface
DataCollectorInterface.
@author Fabien Potencier <fabien@symfony.com>
Hierarchy
- interface \Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface
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\DataCollectorView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DataCollectorInterface:: |
public | function | Collects data for the given Request and Response. | 11 |
DataCollectorInterface:: |
public | function | Returns the name of the collector. | 11 |