class Timer

Provides helpers to use timers throughout a request.

Hierarchy

  • class \Drupal\Component\Utility\Timer

Expanded class hierarchy of Timer

2 files declare their use of Timer

File

drupal/core/lib/Drupal/Component/Utility/Timer.php, line 13
Contains \Drupal\Component\Utility\Timer.

Namespace

Drupal\Component\Utility
View source

Members

Namesort descending Modifiers Type Description Overrides
Timer::$timers protected static property
Timer::read public static function Reads the current timer value without stopping the timer.
Timer::start public static function Starts the timer with the specified name.
Timer::stop public static function Stops the timer with the specified name.