1 | <?php |
||
20 | final class DocumentPreParsedEvent extends AbstractEvent |
||
21 | { |
||
22 | /** @var Document */ |
||
23 | private $document; |
||
24 | |||
25 | /** @var MarkdownInputInterface */ |
||
26 | private $markdown; |
||
27 | |||
28 | 2493 | public function __construct(Document $document, MarkdownInputInterface $markdown) |
|
33 | |||
34 | 3 | public function getDocument(): Document |
|
35 | { |
||
36 | 3 | return $this->document; |
|
37 | } |
||
38 | |||
39 | 2493 | public function getMarkdown(): MarkdownInputInterface |
|
43 | |||
44 | public function replaceMarkdown(MarkdownInputInterface $markdownInput): void |
||
48 | } |
||
49 |