| 1 | <?php |
||
| 17 | final class StreamEvent extends Event |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var Dompdf |
||
| 21 | */ |
||
| 22 | private $pdf; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | private $filename; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @var string |
||
| 31 | */ |
||
| 32 | private $html; |
||
| 33 | |||
| 34 | public function __construct(Dompdf $pdf, string $filename, string $html) |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Returns the dompdf instance. |
||
| 43 | */ |
||
| 44 | public function getPdf(): Dompdf |
||
| 48 | |||
| 49 | /** |
||
| 50 | * Returns the filename. |
||
| 51 | */ |
||
| 52 | public function getFilename(): string |
||
| 56 | |||
| 57 | /** |
||
| 58 | * Returns the html. |
||
| 59 | */ |
||
| 60 | public function getHtml(): string |
||
| 64 | } |
||
| 65 |