Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1.19 KB

SplitPdfBuilder.md

File metadata and controls

31 lines (20 loc) · 1.19 KB

SplitPdfBuilder

Split n pdf files.

  • splitMode(?Sensiolabs\GotenbergBundle\Enumeration\SplitMode $splitMode): Either intervals or pages. (default None).

  • splitSpan(string $splitSpan): Either the intervals or the page ranges to extract, depending on the selected mode. (default None).

  • splitUnify(bool $bool): Specify whether to put extracted pages into a single file or as many files as there are page ranges. Only works with pages mode. (default false).

  • 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.