original_string: public function start()
      {
          if ($this->isStart) {
              return;
          }
  
          $this->startAt = time();
          $this->stopAt  = null;
          $this->isStart = true;
  
          if (extension_loaded('xdebug')) {
              xdebug_disable();
          }
  
          foreach ($this->onStart as $callable) {
              call_user_func_array($callable, []);
          }
  
          while ($this->isStart) {
              $this->tick();
          }
  
          $this->stopAt = time();
  
          foreach ($this->onStop as $callable) {
              call_user_func_array($callable, []);
          }
  
          if (extension_loaded('xdebug')) {
              xdebug_enable();
          }
      }
code: public function start()
      {
          if ($this->isStart) {
              return;
          }
  
          $this->startAt = time();
          $this->stopAt  = null;
          $this->isStart = true;
  
          if (extension_loaded('xdebug')) {
              xdebug_disable();
          }
  
          foreach ($this->onStart as $callable) {
              call_user_func_array($callable, []);
          }
  
          while ($this->isStart) {
              $this->tick();
          }
  
          $this->stopAt = time();
  
          foreach ($this->onStop as $callable) {
              call_user_func_array($callable, []);
          }
  
          if (extension_loaded('xdebug')) {
              xdebug_enable();
          }
      }
code_tokens: public function start ( ) { if ( $ this -> isStart ) { return ; } $ this -> startAt = time ( ) ; $ this -> stopAt = null ; $ this -> isStart = true ; if ( extension_loaded ( 'xdebug' ) ) { xdebug_disable ( ) ; } foreach ( $ this -> onStart as $ callable ) { call_user_func_array ( $ callable , [ ] ) ; } while ( $ this -> isStart ) { $ this -> tick ( ) ; } $ this -> stopAt = time ( ) ; foreach ( $ this -> onStop as $ callable ) { call_user_func_array ( $ callable , [ ] ) ; } if ( extension_loaded ( 'xdebug' ) ) { xdebug_enable ( ) ; } }
docstring: Start loop.
  
  @return void
docstring_tokens: Start loop .