Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface::collect
Collects data for the given Request and Response.
Signature
public function collect(Request
$request,
[Response
$response = null,
[Exception
$exception = null]] )
Parameters
$request
— Symfony\Component\HttpFoundation\Request- A Request instance
$response
— Symfony\Component\HttpFoundation\Response- A Response instance
$exception
— \Exception- An Exception instance