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

PDF\HtmlToPdf\Diagnostics

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(PDF\HtmlToPdf\UnsupportedPolicy $policy = PDF\HtmlToPdf\UnsupportedPolicy::Reject, int $maximum = 100)

Declared by PDF\HtmlToPdf\Diagnostics · View the code ↗

Declared methods

add()

public function add(string $code, string $message, ?string $nodeId = null): void

Declared by PDF\HtmlToPdf\Diagnostics · View the code ↗

all()

public function all(): array
@return list<Diagnostic>

Declared by PDF\HtmlToPdf\Diagnostics · View the code ↗

unsupported()

public function unsupported(string $code, string $message, ?string $nodeId = null): void

Declared by PDF\HtmlToPdf\Diagnostics · View the code ↗