1 | <?php |
||
17 | final class PdfWriterOptions |
||
18 | { |
||
19 | /** |
||
20 | * @var string |
||
21 | */ |
||
22 | private $pdfVersion; |
||
23 | |||
24 | /** |
||
25 | * @var EncryptionOptions|null |
||
26 | */ |
||
27 | private $encryptionOptions; |
||
28 | |||
29 | /** |
||
30 | * @param string $pdfVersion |
||
31 | * @throws DomainException |
||
32 | */ |
||
33 | public function __construct($pdfVersion = '1.7') |
||
41 | |||
42 | /** |
||
43 | * Returns the PDF version to use for the document. |
||
44 | * |
||
45 | * @return string |
||
46 | */ |
||
47 | public function getPdfVersion() |
||
51 | |||
52 | /** |
||
53 | * Sets encryption options. |
||
54 | * |
||
55 | * @param EncryptionOptions $encryptionOptions |
||
56 | */ |
||
57 | public function setEncryptionOptions(EncryptionOptions $encryptionOptions) |
||
61 | |||
62 | /** |
||
63 | * @param string $permanentFileIdentifier |
||
64 | * @return EncryptionInterface |
||
65 | */ |
||
66 | public function getEncryption($permanentFileIdentifier) |
||
74 | } |
||
75 |