Kraken\Util\Buffer\BufferIterator::next PHP Method

next() public method

Move to the next character in the buffer.
public next ( )
    public function next()
    {
        ++$this->current;
    }

Usage Example

 public function testApiRemove_ThrowsException_OnInvalidIterator()
 {
     $this->setExpectedException(OutOfBoundsException::class);
     for ($this->iterator->rewind(); $this->iterator->valid(); $this->iterator->next()) {
     }
     $this->iterator->remove();
 }
All Usage Examples Of Kraken\Util\Buffer\BufferIterator::next