API reference / Quittio \ Core \ Pdf
RenderRequest
final readonly class in quittio/core
Quittio\Core\Pdf\RenderRequest · Source
Input for a PDF renderer.
Properties#
| Property | Type | Description |
|---|---|---|
$author readonly | ?string | |
$embedded readonly | ?EmbeddedXml | |
$font readonly | ?string | |
$html readonly | string | |
$paper readonly | string | |
$pdfa readonly | bool | |
$subject readonly | ?string | |
$title readonly | string |
Methods#
| Method | Description |
|---|---|
->__construct() |
__construct()#
public function __construct(
string $html,
string $title,
?string $author = null,
?string $subject = null,
string $paper = 'A4',
bool $pdfa = true,
?EmbeddedXml $embedded = null,
?string $font = null,
)| Parameter | Type | Description |
|---|---|---|
$html | string | |
$title | string | |
$author | ?string = null | |
$subject | ?string = null | |
$paper | string = 'A4' | |
$pdfa | bool = true | |
$embedded | ?EmbeddedXml = null | |
$font | ?string = null |