You are here

public function StopwatchEvent::getCategory in Devel 4.x

Same name and namespace in other branches
  1. 8.3 webprofiler/src/Stopwatch.php \Drupal\webprofiler\StopwatchEvent::getCategory()
  2. 8 webprofiler/src/Stopwatch.php \Drupal\webprofiler\StopwatchEvent::getCategory()
  3. 8.2 webprofiler/src/Stopwatch.php \Drupal\webprofiler\StopwatchEvent::getCategory()

Gets the category.

Return value

string The category.

File

webprofiler/src/Stopwatch.php, line 377

Class

StopwatchEvent
Class StopwatchEvent.

Namespace

Drupal\webprofiler

Code

public function getCategory() {
  return $this->category;
}