Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/http-kernel/DataCollector/DataCollectorInterface.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 4c8ae668cc8c |
children |
comparison
equal
deleted
inserted
replaced
13:5fb285c0d0e3 | 14:1fec387a4317 |
---|---|
16 | 16 |
17 /** | 17 /** |
18 * DataCollectorInterface. | 18 * DataCollectorInterface. |
19 * | 19 * |
20 * @author Fabien Potencier <fabien@symfony.com> | 20 * @author Fabien Potencier <fabien@symfony.com> |
21 * | |
22 * @method reset() Resets this data collector to its initial state. | |
21 */ | 23 */ |
22 interface DataCollectorInterface | 24 interface DataCollectorInterface |
23 { | 25 { |
24 /** | 26 /** |
25 * Collects data for the given Request and Response. | 27 * Collects data for the given Request and Response. |
26 * | |
27 * @param Request $request A Request instance | |
28 * @param Response $response A Response instance | |
29 * @param \Exception $exception An Exception instance | |
30 */ | 28 */ |
31 public function collect(Request $request, Response $response, \Exception $exception = null); | 29 public function collect(Request $request, Response $response, \Exception $exception = null); |
32 | 30 |
33 /** | 31 /** |
34 * Returns the name of the collector. | 32 * Returns the name of the collector. |