class final Optional · pdftoolkit/html-to-pdf 0.4.0
PDF\HtmlToPdf\Layout\SemanticTreeA new tree is allocated for each document; source identifiers never become PDF names.Inheritance and contracts
This type declares no parent, interface or trait.
Declared methods
add()
public function add(string $role, ?string $parent = null, ?string $alt = null, ?string $language = null, ?string $scope = null, ?bool $checked = null): stringall()
public function all(): array@return list<SemanticNode>forNode()
public function forNode(PDF\HtmlToPdf\Model\Node $node, string $parent): string