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

PDF\HtmlToPdf\Resource\ResourceCatalog

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(array $images = [], array $stylesheets = [])
@param array<string,ImageAsset> $images
@param array<string,string> $stylesheets

Declared by PDF\HtmlToPdf\Resource\ResourceCatalog · View the code ↗

Declared methods

image()

public function image(string $uri): PDF\HtmlToPdf\Resource\ImageAsset

Declared by PDF\HtmlToPdf\Resource\ResourceCatalog · View the code ↗

images()

public function images(): array
@return array<string,ImageAsset>

Declared by PDF\HtmlToPdf\Resource\ResourceCatalog · View the code ↗

stylesheet()

public function stylesheet(string $uri): string

Declared by PDF\HtmlToPdf\Resource\ResourceCatalog · View the code ↗

totalBytes()

public function totalBytes(): int

Declared by PDF\HtmlToPdf\Resource\ResourceCatalog · View the code ↗