You are here

public function MemoryDataCollector::collect in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-kernel/DataCollector/MemoryDataCollector.php \Symfony\Component\HttpKernel\DataCollector\MemoryDataCollector::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/MemoryDataCollector.php, line 35

Class

MemoryDataCollector
MemoryDataCollector.

Namespace

Symfony\Component\HttpKernel\DataCollector

Code

public function collect(Request $request, Response $response, \Exception $exception = null) {
  $this
    ->updateMemoryUsage();
}