| 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 | /** |
||
| 35 | * @param Dompdf $pdf |
||
| 36 | * @param string $filename |
||
| 37 | * @param string $html |
||
| 38 | */ |
||
| 39 | public function __construct(Dompdf $pdf, string $filename, string $html) |
||
| 45 | |||
| 46 | /** |
||
| 47 | * Returns the dompdf instance. |
||
| 48 | * |
||
| 49 | * @return Dompdf |
||
| 50 | */ |
||
| 51 | public function getPdf() |
||
| 55 | |||
| 56 | /** |
||
| 57 | * Returns the filename. |
||
| 58 | * |
||
| 59 | * @return string |
||
| 60 | */ |
||
| 61 | public function getFilename() |
||
| 65 | |||
| 66 | /** |
||
| 67 | * Returns the html. |
||
| 68 | * |
||
| 69 | * @return string |
||
| 70 | */ |
||
| 71 | public function getHtml() |
||
| 75 | } |
||
| 76 |