You are here

protected function Tokenizer::buffer in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/masterminds/html5/src/HTML5/Parser/Tokenizer.php \Masterminds\HTML5\Parser\Tokenizer::buffer()

Add text to the temporary buffer.

See also

flushBuffer()

2 calls to Tokenizer::buffer()
Tokenizer::characterReference in vendor/masterminds/html5/src/HTML5/Parser/Tokenizer.php
Handle character references (aka entities).
Tokenizer::text in vendor/masterminds/html5/src/HTML5/Parser/Tokenizer.php
This buffers the current token as character data.

File

vendor/masterminds/html5/src/HTML5/Parser/Tokenizer.php, line 968

Class

Tokenizer
The HTML5 tokenizer.

Namespace

Masterminds\HTML5\Parser

Code

protected function buffer($str) {
  $this->text .= $str;
}