| 1 | <?php |
||
| 17 | final class OutputEvent extends Event |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var Dompdf |
||
| 21 | */ |
||
| 22 | private $pdf; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | private $html; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param Dompdf $pdf |
||
| 31 | * @param string $html |
||
| 32 | */ |
||
| 33 | public function __construct(Dompdf $pdf, string $html) |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Returns the dompdf instance. |
||
| 41 | * |
||
| 42 | * @return Dompdf |
||
| 43 | */ |
||
| 44 | public function getPdf() |
||
| 48 | |||
| 49 | /** |
||
| 50 | * Returns the html. |
||
| 51 | * |
||
| 52 | * @return string |
||
| 53 | */ |
||
| 54 | public function getHtml() |
||
| 58 | } |
||
| 59 |