DebugKit\DebugTimer::clear PHP Method

clear() public static method

Clear all existing timers
public static clear ( ) : boolean
return boolean true
    public static function clear()
    {
        self::$_timers = [];
        return true;
    }

Usage Example

 /**
  * End a test
  *
  * @return void
  */
 public function tearDown()
 {
     parent::tearDown();
     unset($this->Article);
     TableRegistry::clear();
     DebugTimer::clear();
 }
All Usage Examples Of DebugKit\DebugTimer::clear