Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Tokenizer.php

function Tokenizer::buffer

Add text to the temporary buffer.

Parameters

string $str:

See also

flushBuffer()

2 calls to Tokenizer::buffer()
Tokenizer::consumeData in vendor/masterminds/html5/src/HTML5/Parser/Tokenizer.php
Consume a character and make a move. HTML5 8.2.4.1.
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 1061

Class

Tokenizer
The HTML5 tokenizer.

Namespace

Masterminds\HTML5\Parser

Code

protected function buffer($str) {
    $this->text .= $str;
}
RSS feed
Powered by Drupal