| Total Complexity | 7 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | final class BlockQuoteParser extends AbstractBlockContinueParser |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * @var BlockQuote |
||
| 27 | * |
||
| 28 | * @psalm-readonly |
||
| 29 | */ |
||
| 30 | private $block; |
||
| 31 | |||
| 32 | 156 | public function __construct() |
|
| 33 | { |
||
| 34 | 156 | $this->block = new BlockQuote(); |
|
| 35 | 156 | } |
|
| 36 | |||
| 37 | /** |
||
| 38 | * @return BlockQuote |
||
| 39 | */ |
||
| 40 | 156 | public function getBlock(): AbstractBlock |
|
| 43 | } |
||
| 44 | |||
| 45 | 156 | public function isContainer(): bool |
|
| 48 | } |
||
| 49 | |||
| 50 | 150 | public function canContain(AbstractBlock $childBlock): bool |
|
| 51 | { |
||
| 52 | 150 | return true; |
|
| 53 | } |
||
| 54 | |||
| 55 | 108 | public function tryContinue(Cursor $cursor, BlockContinueParserInterface $activeBlockParser): ?BlockContinue |
|
| 66 | } |
||
| 67 | } |
||
| 68 |