You are here

public function BaseParser::__construct in XHProf 8

Parameters

$run:

$sort:

$symbol:

2 calls to BaseParser::__construct()
DiffParser::__construct in src/XHProfLib/Parser/DiffParser.php
Parser::__construct in src/XHProfLib/Parser/Parser.php
2 methods override BaseParser::__construct()
DiffParser::__construct in src/XHProfLib/Parser/DiffParser.php
Parser::__construct in src/XHProfLib/Parser/Parser.php

File

src/XHProfLib/Parser/BaseParser.php, line 49

Class

BaseParser
Class BaseReport

Namespace

Drupal\xhprof\XHProfLib\Parser

Code

public function __construct(Run $run, $sort, $symbol) {
  $this->sort = $sort;
  $this->run = $run;
  $this->symbol = $symbol;
  $this->diff_mode = FALSE;
  $this->mainSymbol = $run
    ->getMainSymbol();
  $this
    ->initMetrics($run
    ->getSymbols(), $symbol, $sort);
}