| Total Complexity | 6 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 25 | final class DescriptionListContinueParser extends AbstractBlockContinueParser |
||
| 26 | { |
||
| 27 | private DescriptionList $block; |
||
| 28 | |||
| 29 | public function __construct() |
||
| 30 | { |
||
| 31 | $this->block = new DescriptionList(); |
||
| 32 | } |
||
| 33 | |||
| 34 | public function getBlock(): DescriptionList |
||
| 35 | { |
||
| 36 | return $this->block; |
||
| 37 | } |
||
| 38 | |||
| 39 | public function tryContinue(Cursor $cursor, BlockContinueParserInterface $activeBlockParser): ?BlockContinue |
||
| 40 | { |
||
| 41 | return BlockContinue::at($cursor); |
||
| 42 | } |
||
| 43 | |||
| 44 | public function isContainer(): bool |
||
| 45 | { |
||
| 46 | return true; |
||
| 47 | } |
||
| 48 | |||
| 49 | public function canContain(AbstractBlock $childBlock): bool |
||
| 52 | } |
||
| 53 | } |
||
| 54 |