| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 0 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | public function __construct( |
||
| 8 | // The filename if you plan to store this PDF on the filesystem. |
||
| 9 | public string $filename, |
||
| 10 | |||
| 11 | // The HTML string to convert to PDF |
||
| 12 | public string $html, |
||
| 13 | |||
| 14 | // Display orientation of the PDF: 'portrait' or 'landscape' |
||
| 15 | public string $orientation, |
||
| 16 | |||
| 17 | // Any driver specific options you wish to pass. |
||
| 18 | public array $options, |
||
| 19 | |||
| 20 | // The path to where you plan to store this PDF on the filesystem. |
||
| 21 | public string $path, |
||
| 22 | ) { |
||
| 23 | } |
||
| 47 |