Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 994 Bytes

ConvertPdfBuilder.md

File metadata and controls

26 lines (17 loc) · 994 Bytes

ConvertPdfBuilder

  • pdfFormat(Sensiolabs\GotenbergBundle\Enumeration\PdfFormat $format): Convert the resulting PDF into the given PDF/A format.

  • pdfUniversalAccess(bool $bool): Enable PDF for Universal Access for optimal accessibility.

  • files(string $paths):

  • downloadFrom(array $downloadFrom):

  • webhookConfiguration(string $name): Providing an existing $name from the configuration file, it will correctly set both success and error webhook URLs as well as extra_http_headers if defined.

  • webhookUrl(string $url, ?string $method): Sets the webhook for cases of success. Optionaly sets a custom HTTP method for such endpoint among : POST, PUT or PATCH.

  • errorWebhookUrl(?string $url, ?string $method): Sets the webhook for cases of error. Optionaly sets a custom HTTP method for such endpoint among : POST, PUT or PATCH.

  • webhookExtraHeaders(array $extraHeaders): Extra headers that will be provided to the webhook endpoint. May it either be Success or Error.