class final readonly Optional · pdftoolkit/html-to-pdf 0.4.0
PDF\HtmlToPdf\Resource\ResourceCatalogInheritance 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> $stylesheetsDeclared methods
image()
public function image(string $uri): PDF\HtmlToPdf\Resource\ImageAssetimages()
public function images(): array@return array<string,ImageAsset>stylesheet()
public function stylesheet(string $uri): stringtotalBytes()
public function totalBytes(): int