TokyoTyrantIterator::rewind()
(PECL tokyo_tyrant >= 0.2.0)
Rewinds the iterator
说明
public TokyoTyrantIterator::rewind(void): void
Rewinds the iterator for new iteration. Called automatically at the beginning of foreach.
参数
此函数没有参数。
返回值
Throws TokyoTyrantException if iterator initialization fails.
参见
- TokyoTyrantIterator::valid() Rewinds the iterator
- TokyoTyrantIterator::current() Get the current value
- TokyoTyrantIterator::next() Move to next key
- TokyoTyrantIterator::rewind()