public function StringInputStream::unconsume in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/masterminds/html5/src/HTML5/Parser/StringInputStream.php \Masterminds\HTML5\Parser\StringInputStream::unconsume()
Unconsume characters.
Parameters
int $howMany: The number of characters to unconsume.
Overrides InputStream::unconsume
File
- vendor/
masterminds/ html5/ src/ HTML5/ Parser/ StringInputStream.php, line 308
Class
Namespace
Masterminds\HTML5\ParserCode
public function unconsume($howMany = 1) {
if ($this->char - $howMany >= 0) {
$this->char = $this->char - $howMany;
}
}