seek() 공개 메소드

Move to the given position in the buffer.
public seek ( integer $position )
$position integer
예제 #1
0
 public function testApiSeek_WhenInvalidPositionIsPassed()
 {
     $this->iterator->seek(-1);
     $this->assertSame(0, $this->iterator->key());
 }