/** * Stops the timer identified by $name. * * $name can be omitted (false) if only one timer is running. * * @param string|bool $name */ public function stopTimer($name = false) { $this->timer->stopTimer($name); }
public function testSwitchTimerNochSuchOldTimerFailure() { $time = new ezcDebugTimer(); $time->startTimer('foo', 'foogroup'); $this->assertFalse($time->switchTimer('bar', 'baz')); }