You are here

public function EventStack::comment 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::comment()

A comment section (unparsed character data).

Overrides EventHandler::comment

File

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

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 comment($cdata) {
  $this
    ->store('comment', array(
    $cdata,
  ));
}