public function repeat($count) { $this->repeat = (int) $count; return $this; }
/** * Test: Creating recurring time * * @covers \Phue\TimePattern\Timer */ public function testCreateTime() { $timer = new Timer(3925); $this->assertRegExp('/^R12\\/PT01:05:25$/', (string) $timer->repeat(12)); }