
| Current Path : /var/www/html1/testsite/vendor/masterminds/html5/test/HTML5/Parser/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html1/testsite/vendor/masterminds/html5/test/HTML5/Parser/InstructionProcessorMock.php |
<?php
namespace Masterminds\HTML5\Tests\Parser;
class InstructionProcessorMock implements \Masterminds\HTML5\InstructionProcessor
{
public $name = null;
public $data = null;
public $count = 0;
public function process(\DOMElement $element, $name, $data)
{
$this->name = $name;
$this->data = $data;
$this->count ++;
$div = $element->ownerDocument->createElement("div");
$div->nodeValue = 'foo';
$element->appendChild($div);
return $div;
}
}