Add a page object to the output
public addPage ( string $input, array $options = [], string | null $type = null ) : static | ||
$input | string | either a URL, a HTML string or a filename |
$options | array | optional options for this page |
$type | string | null | a type hint if the input is a string of known type. This can either be `TYPE_HTML` or `TYPE_XML`. If `null` (default) the type is auto detected from the string content. |
return | static | the Pdf instance for method chaining |