| Total Complexity | 3 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | final class DocumentPreRenderEvent extends AbstractEvent |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * @var Document |
||
| 25 | * |
||
| 26 | * @psalm-readonly |
||
| 27 | */ |
||
| 28 | private $document; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @var string |
||
| 32 | * |
||
| 33 | * @psalm-readonly |
||
| 34 | */ |
||
| 35 | private $format; |
||
| 36 | |||
| 37 | 3066 | public function __construct(Document $document, string $format) |
|
| 41 | 3066 | } |
|
| 42 | |||
| 43 | 6 | public function getDocument(): Document |
|
| 46 | } |
||
| 47 | |||
| 48 | 3 | public function getFormat(): string |
|
| 53 |