You are here

public function EventStack::cdata in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/masterminds/html5/test/HTML5/Parser/EventStack.php \Masterminds\HTML5\Tests\Parser\EventStack::cdata()

A CDATA section.

Parameters

string $data: The unparsed character data.

Overrides EventHandler::cdata

File

vendor/masterminds/html5/test/HTML5/Parser/EventStack.php, line 87

Class

EventStack
This testing class gathers events from a parser and builds a stack of events. It is useful for checking the output of a tokenizer.

Namespace

Masterminds\HTML5\Tests\Parser

Code

public function cdata($data) {
  $this
    ->store('cdata', func_get_args());
}