You are here

private function XHProfRunsFile::fileName in XHProf 7

Same name and namespace in other branches
  1. 6 XHProfLib/XHProfRuns.php \XHProfRunsFile::fileName()
1 call to XHProfRunsFile::fileName()
XHProfRunsFile::getRun in XHProfLib/XHProfRuns.php

File

XHProfLib/XHProfRuns.php, line 16

Class

XHProfRunsFile

Code

private function fileName($run_id, $namespace) {
  $file = implode('.', array(
    $run_id,
    $namespace,
    $this->suffix,
  ));
  if (!empty($this->dir)) {
    $file = $this->dir . "/" . $file;
  }
  return $file;
}