2 namespace Masterminds\HTML5\Tests\Parser;
4 class InstructionProcessorMock implements \Masterminds\HTML5\InstructionProcessor
13 public function process(\DOMElement $element, $name, $data)
19 $div = $element->ownerDocument->createElement("div");
20 $div->nodeValue = 'foo';
22 $element->appendChild($div);