1 | <?php |
||
22 | final class TableRow extends AbstractBlock |
||
23 | { |
||
24 | 3 | public function canContain(AbstractBlock $block): bool |
|
25 | { |
||
26 | 3 | return $block instanceof TableCell; |
|
27 | } |
||
28 | |||
29 | 3 | public function isCode(): bool |
|
30 | { |
||
31 | 3 | return false; |
|
32 | } |
||
33 | |||
34 | 3 | public function matchesNextLine(Cursor $cursor): bool |
|
35 | { |
||
36 | 3 | return false; |
|
37 | } |
||
38 | |||
39 | /** |
||
40 | * @return AbstractBlock[] |
||
41 | */ |
||
42 | 72 | public function children(): iterable |
|
48 | } |
||
49 |