public function EventDataCollector::collect in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/DataCollector/EventDataCollector.php \Symfony\Component\HttpKernel\DataCollector\EventDataCollector::collect()
Collects data for the given Request and Response.
Parameters
Request $request A Request instance:
Response $response A Response instance:
\Exception $exception An Exception instance:
Overrides DataCollectorInterface::collect
File
- vendor/
symfony/ http-kernel/ DataCollector/ EventDataCollector.php, line 36
Class
- EventDataCollector
- EventDataCollector.
Namespace
Symfony\Component\HttpKernel\DataCollectorCode
public function collect(Request $request, Response $response, \Exception $exception = null) {
$this->data = array(
'called_listeners' => array(),
'not_called_listeners' => array(),
);
}