You are here

public function TreeBuildingRules::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/masterminds/html5/src/HTML5/Parser/TreeBuildingRules.php \Masterminds\HTML5\Parser\TreeBuildingRules::__construct()

Build a new rules engine.

Parameters

\DOMDocument $doc: The DOM document to use for evaluation and modification.

File

vendor/masterminds/html5/src/HTML5/Parser/TreeBuildingRules.php, line 41

Class

TreeBuildingRules
Handles special-case rules for the DOM tree builder.

Namespace

Masterminds\HTML5\Parser

Code

public function __construct($doc) {
  $this->doc = $doc;
}