/** * Starts the timer with the identifier $name. * * Optionally, a timer group can be given with the $group parameter. * * @param string $name * @param string $group */ public function startTimer($name, $group = null) { $this->timer->startTimer($name, $group); }
public function testSwitchTimerNochSuchOldTimerFailure() { $time = new ezcDebugTimer(); $time->startTimer('foo', 'foogroup'); $this->assertFalse($time->switchTimer('bar', 'baz')); }