TokyoTyrantIterator
PHP Manual

TokyoTyrantIterator::rewind

(PECL tokyo_tyrant >= 0.2.0)

TokyoTyrantIterator::rewindRewinds the iterator

Description

public void TokyoTyrantIterator::rewind ( void )

Rewinds the iterator for new iteration. Called automatically at the beginning of foreach.

Parameters

This function has no parameters.

Return Values

Throws TokyoTyrantException if iterator initialization fails.

See Also


TokyoTyrantIterator
PHP Manual