class final readonly Optional · pdftoolkit/html-to-pdf 0.4.0
PDF\HtmlToPdf\Model\NodeInheritance and contracts
This type declares no parent, interface or 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> $childrenDeclared methods
attribute()
public function attribute(string $name): ?stringisText()
public function isText(): boolProperties
| Declaration | Origin and documentation |
|---|---|
public readonly array $attributes | PDF\HtmlToPdf\Model\Node |
public readonly array $children | PDF\HtmlToPdf\Model\Node |
public readonly string $id | PDF\HtmlToPdf\Model\Node |
public readonly PDF\HtmlToPdf\Style\ComputedStyle $style | PDF\HtmlToPdf\Model\Node |
public readonly string $tag | PDF\HtmlToPdf\Model\Node |
public readonly string $text | PDF\HtmlToPdf\Model\Node |