Symfony\Component\HttpKernel\Profiler\Profiler::collect
Collects data for the given 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 if the request threw one
Returns
- Profile|null
- A Profile instance or null if the profiler is disabled