original_string: public function measureTime(string $timerId, string $timerTitle, callable $callback)
      {
          $debugger = $this['debugger'];
          $debugger->startTimer($timerId, $timerTitle);
          $result = $callback();
          $debugger->stopTimer($timerId);
  
          return $result;
      }
code: public function measureTime(string $timerId, string $timerTitle, callable $callback)
      {
          $debugger = $this['debugger'];
          $debugger->startTimer($timerId, $timerTitle);
          $result = $callback();
          $debugger->stopTimer($timerId);
  
          return $result;
      }
code_tokens: public function measureTime ( string $ timerId , string $ timerTitle , callable $ callback ) { $ debugger = $ this [ 'debugger' ] ; $ debugger -> startTimer ( $ timerId , $ timerTitle ) ; $ result = $ callback ( ) ; $ debugger -> stopTimer ( $ timerId ) ; return $ result ; }
docstring: Measure how long it takes to do an action.
  
  @param string $timerId
  @param string $timerTitle
  @param callable $callback
  @return mixed   Returns value returned by the callable.
docstring_tokens: Measure how long it takes to do an action .