QueuedDocument
in package
Read onlyYes
FinalYes
Pending queued render of a document; dispatching happens on save().
Table of Contents
Methods
- __construct() : mixed
- save() : RenderDocument
- Dispatches the job, which renders the document and stores it on $disk under $path (defaults: quittio.storage.disk and the file name of the document).
Methods
__construct()
public
__construct(QuittioManager $manager, DocumentData $data, RenderOptions $options[, string|null $connection = null ][, string|null $queue = null ]) : mixed
Parameters
- $manager : QuittioManager
- $data : DocumentData
- $options : RenderOptions
- $connection : string|null = null
- $queue : string|null = null
save()
Dispatches the job, which renders the document and stores it on $disk under $path (defaults: quittio.storage.disk and the file name of the document).
public
save([string|null $disk = null ][, string|null $path = null ]) : RenderDocument
Parameters
- $disk : string|null = null
- $path : string|null = null