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

PDF\HtmlToPdf\Diagnostic

Read the source declaration ↗

Inheritance and contracts

Interfaces : JsonSerializable

Construction

__construct()

public function __construct(string $code, string $message, ?string $nodeId = null)

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

Declared methods

jsonSerialize()

public function jsonSerialize(): array
@return array{code:string,message:string,nodeId:?string}

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

Properties

DeclarationOrigin and documentation
public readonly string $codePDF\HtmlToPdf\Diagnostic
public readonly string $messagePDF\HtmlToPdf\Diagnostic
public readonly ?string $nodeIdPDF\HtmlToPdf\Diagnostic