class final Optional · pdftoolkit/pdf-to-html 0.1.2

PDF\Html\Html\ContentModelRepair
Repairs PDF/HTML content-model differences within cumulative expansion budgets.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(?PDF\Html\DerivationLimits $limits = null)

Declared by PDF\Html\Html\ContentModelRepair · View the code ↗

Declared methods

block()

public function block(string $tag): bool

Declared by PDF\Html\Html\ContentModelRepair · View the code ↗

repair()

public function repair(PDF\Html\Html\Element $element): array
@return list<HtmlNode>

Declared by PDF\Html\Html\ContentModelRepair · View the code ↗

Properties

DeclarationOrigin and documentation
public array $diagnosticsPDF\Html\Html\ContentModelRepair
@var list<string>