You are here

public function Profiler::isEnabled in XHProf 8

Check whether profiler is enabled.

Return value

boolean TRUE when enabled, FALSE otherwise.

Overrides ProfilerInterface::isEnabled

File

src/Profiler.php, line 120

Class

Profiler
Provides profiler service.

Namespace

Drupal\xhprof

Code

public function isEnabled() {
  return $this->enabled;
}