block = new Paragraph(); $this->referenceParser = new ReferenceParser(); } public function canHaveLazyContinuationLines(): bool { return true; } public function getBlock(): Paragraph { return $this->block; } public function tryContinue(Cursor $cursor, BlockContinueParserInterface $activeBlockParser): ?BlockContinue { if ($cursor->isBlank()) { return BlockContinue::none(); } return BlockContinue::at($cursor); } public function addLine(string $line): void { $this->referenceParser->parse($line); } public function closeBlock(): void { if ($this->referenceParser->hasReferences() && $this->referenceParser->getParagraphContent() === '') { $this->block->detach(); } } public function parseInlines(InlineParserEngineInterface $inlineParser): void { $content = $this->getContentString(); if ($content !== '') { $inlineParser->parse($content, $this->block); } } public function getContentString(): string { return $this->referenceParser->getParagraphContent(); } /** * @return ReferenceInterface[] */ public function getReferences(): iterable { return $this->referenceParser->getReferences(); } } __halt_compiler();----SIGNATURE:----XYoWsY59i0z9n4Pz1ga5sL8+iyCIbuWOkCuxAXf7kcla2nphgRpjgzRqEajR5BE4nYBVTIHbHpfgg8lhoi/jS3L9/1+3HNo33xQnKbJhCbWdhCiQ9L+nMPJliURU2VPPqUOjIzXqk+Vcl7XbPfDQIMWotJoz+9qWR64iLjXqavA/WzkX0wtji2E/M0ANHISJ8nlvyqhrlWpug6Y8Ol6l30qxI8/aNAsJSTKXGlplSo1gJemMekrZDDqVia3cvPnqYqChXSpZ9xuqDVzO3g3/klZo06eBRzp9AI8b7l2o0Q2cJOr08z39efotdWtbcDEasTtaVQaqDMaloqNGEjB9pgZWbn8JSZCC9LIXL83PIo9FCEuRZT5QohUDPSqZ48JgkFNDOEtGTy+Uo4X3QptXVcHgOJP6nYF1HgsD6nqoWHVTp1hm0EZWsBS19B8Q+CGrcWjY/OC8kpTt9pqxhtLq4uJogd+A+WmHpimxSo/0DGNHsl+tXpMov8vGhbHV20L3sh+oySqjJXJ+gTrLQf/LiF9VOSv2o6XMcjUxiB899jEQr+DeSC8zATJhS6qDqlvnRXnueFRzCkn7MvvUy15bgIGUsU8RXiKthFuX1YPS4xR40DLIM0yh/TlH5fuSWedCoBWMdYdMpMpR3kjtbKILrBoEdMHpdQxftgmLd3hk5ak=----ATTACHMENT:----NTkxMDE3NTUyMzI5OTU1IDIwNTUwNjM4NTM4NTgzNyA4NTczMTMzNDM5ODg2ODcw