You are here

public function Report::__construct in XHProf 8

Parameters

\Drupal\xhprof\XHProfLib\Parser\Parser $parser:

File

src/XHProfLib/Report/Report.php, line 25

Class

Report
Class Report

Namespace

Drupal\xhprof\XHProfLib\Report

Code

public function __construct(Parser $parser) {
  $this->parser = $parser;
  $this->data = $parser
    ->parse();
}