Documentation

PDF
in package

PDF Writer.

Tags
since
0.10.0

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

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

save()

public save(string $filename) : void
Parameters
$filename : string

        
On this page

Search results