interface DataCollectorInterface
DataCollectorInterface.
@author Fabien Potencier <fabien@symfony.com>
Hierarchy
- interface \Symfony\Contracts\Service\ResetInterface
- interface \Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface extends \Symfony\Contracts\Service\ResetInterface
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 23
Namespace
Symfony\Component\HttpKernel\DataCollectorView source
interface DataCollectorInterface extends ResetInterface {
/**
* Collects data for the given Request and Response.
*
* @return void
*/
public function collect(Request $request, Response $response, ?\Throwable $exception = null);
/**
* Returns the name of the collector.
*
* @return string
*/
public function getName();
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
DataCollectorInterface::collect | public | function | Collects data for the given Request and Response. | 14 |
DataCollectorInterface::getName | public | function | Returns the name of the collector. | 14 |
ResetInterface::reset | public | function | 12 |