class final readonly Optionnel · pdftoolkit/html-to-pdf 0.4.0

PDF\HtmlToPdf\Model\Node

Lire la déclaration source ↗

Héritage et contrats

Ce type ne déclare pas de parent, d’interface ou de trait.

Construction

__construct()

public function __construct(string $id, string $tag, array $attributes = [], array $children = [], string $text = '', PDF\HtmlToPdf\Style\ComputedStyle $style = new ComputedStyle())
@param array<string,string> $attributes
@param list<Node> $children

Déclarée par PDF\HtmlToPdf\Model\Node · Voir le code ↗

Méthodes déclarées

attribute()

public function attribute(string $name): ?string

Déclarée par PDF\HtmlToPdf\Model\Node · Voir le code ↗

isText()

public function isText(): bool

Déclarée par PDF\HtmlToPdf\Model\Node · Voir le code ↗

Propriétés

DéclarationProvenance et documentation
public readonly array $attributesPDF\HtmlToPdf\Model\Node
public readonly array $childrenPDF\HtmlToPdf\Model\Node
public readonly string $idPDF\HtmlToPdf\Model\Node
public readonly PDF\HtmlToPdf\Style\ComputedStyle $stylePDF\HtmlToPdf\Model\Node
public readonly string $tagPDF\HtmlToPdf\Model\Node
public readonly string $textPDF\HtmlToPdf\Model\Node