PDF
in package
PDF Writer.
Tags
Table of Contents
Properties
- $renderer : AbstractRenderer
- The wrapper for the requested PDF rendering engine.
Methods
- __call() : mixed
- Magic method to handle direct calls to the configured PDF renderer wrapper class.
- __construct() : mixed
- Instantiate a new renderer of the configured type within this container class.
- getRenderer() : AbstractRenderer
- save() : void
Properties
$renderer
The wrapper for the requested PDF rendering engine.
private
AbstractRenderer
$renderer
Methods
__call()
Magic method to handle direct calls to the configured PDF renderer wrapper class.
public
__call(string $name, array<string|int, mixed> $arguments) : mixed
Parameters
- $name : string
-
Renderer library method name
- $arguments : array<string|int, mixed>
-
Array of arguments to pass to the renderer method
Return values
mixed —Returned data from the PDF renderer wrapper method
__construct()
Instantiate a new renderer of the configured type within this container class.
public
__construct(PhpWord $phpWord) : mixed
Parameters
- $phpWord : PhpWord
getRenderer()
public
getRenderer() : AbstractRenderer
Return values
AbstractRenderersave()
public
save(string $filename) : void
Parameters
- $filename : string