You are here

public function MemoryDataCollector::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/DataCollector/MemoryDataCollector.php \Symfony\Component\HttpKernel\DataCollector\MemoryDataCollector::__construct()

File

vendor/symfony/http-kernel/DataCollector/MemoryDataCollector.php, line 24

Class

MemoryDataCollector
MemoryDataCollector.

Namespace

Symfony\Component\HttpKernel\DataCollector

Code

public function __construct() {
  $this->data = array(
    'memory' => 0,
    'memory_limit' => $this
      ->convertToBytes(ini_get('memory_limit')),
  );
}