| Total Complexity | 4 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| 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 InputInterface */ |
||
| 32 | private $input; |
||
| 33 | |||
| 34 | public function __construct(Document $document, InputInterface $input) |
||
| 35 | { |
||
| 36 | $this->document = $document; |
||
| 37 | $this->input = $input; |
||
| 38 | } |
||
| 39 | |||
| 40 | public function getDocument(): Document |
||
| 43 | } |
||
| 44 | |||
| 45 | public function getInput(): InputInterface |
||
| 46 | { |
||
| 47 | return $this->input; |
||
| 48 | } |
||
| 49 | |||
| 50 | public function replaceInput(InputInterface $markdownInput): void |
||
| 53 | } |
||
| 54 | } |
||
| 55 |