| Total Complexity | 4 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | final class HeadingParser extends AbstractBlockContinueParser implements BlockContinueParserWithInlinesInterface |
||
| 26 | { |
||
| 27 | /** |
||
| 28 | * @var Heading |
||
| 29 | * |
||
| 30 | * @psalm-readonly |
||
| 31 | */ |
||
| 32 | private $block; |
||
| 33 | |||
| 34 | /** @var string */ |
||
| 35 | private $content; |
||
| 36 | |||
| 37 | 231 | public function __construct(int $level, string $content) |
|
| 41 | 231 | } |
|
| 42 | |||
| 43 | 231 | public function getBlock(): AbstractBlock |
|
| 46 | } |
||
| 47 | |||
| 48 | 150 | public function tryContinue(Cursor $cursor, BlockContinueParserInterface $activeBlockParser): ?BlockContinue |
|
| 51 | } |
||
| 52 | |||
| 53 | 231 | public function parseInlines(InlineParserEngineInterface $inlineParser): void |
|
| 58 |