Total Complexity | 4 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
22 | final class DocumentPreParsedEvent extends AbstractEvent |
||
23 | { |
||
24 | /** |
||
25 | * @var Document |
||
26 | * |
||
27 | * @psalm-readonly |
||
28 | */ |
||
29 | private $document; |
||
30 | |||
31 | /** @var MarkdownInputInterface */ |
||
32 | private $markdown; |
||
33 | |||
34 | 2862 | public function __construct(Document $document, MarkdownInputInterface $markdown) |
|
35 | { |
||
36 | 2862 | $this->document = $document; |
|
37 | 2862 | $this->markdown = $markdown; |
|
38 | 2862 | } |
|
39 | |||
40 | 9 | public function getDocument(): Document |
|
43 | } |
||
44 | |||
45 | 2859 | public function getMarkdown(): MarkdownInputInterface |
|
48 | } |
||
49 | |||
50 | 6 | public function replaceMarkdown(MarkdownInputInterface $markdownInput): void |
|
55 |