public function Symbol::getMetric in XHProf 8
Parameters
$metric:
Return value
mixed
File
- src/
XHProfLib/ Symbol/ Symbol.php, line 117
Class
- Symbol
- Provides a value object for single span of profiling.
Namespace
Drupal\xhprof\XHProfLib\SymbolCode
public function getMetric($metric) {
if (isset($this->{$metric})) {
return $this->{$metric};
}
else {
return NULL;
}
}