public function EventStack::processingInstruction in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/masterminds/html5/test/HTML5/Parser/EventStack.php \Masterminds\HTML5\Tests\Parser\EventStack::processingInstruction()
This is a holdover from the XML spec.
While user agents don't get PIs, server-side does.
Parameters
string $name: The name of the processor (e.g. 'php').
string $data: The unparsed data.
Overrides EventHandler::processingInstruction
File
- vendor/
masterminds/ html5/ test/ HTML5/ Parser/ EventStack.php, line 112
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\ParserCode
public function processingInstruction($name, $data = null) {
$this
->store('pi', func_get_args());
}