You are here

public function Scanner::consume in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/masterminds/html5/src/HTML5/Parser/Scanner.php \Masterminds\HTML5\Parser\Scanner::consume()

Silently consume N chars.

File

vendor/masterminds/html5/src/HTML5/Parser/Scanner.php, line 92

Class

Scanner
The scanner.

Namespace

Masterminds\HTML5\Parser

Code

public function consume($count = 1) {
  for ($i = 0; $i < $count; ++$i) {
    $this
      ->next();
  }
}