1 | <?php |
||
22 | class TableRows extends AbstractBlock |
||
23 | { |
||
24 | const TYPE_HEAD = 'thead'; |
||
25 | const TYPE_BODY = 'tbody'; |
||
26 | |||
27 | public $type = self::TYPE_BODY; |
||
28 | |||
29 | public function __construct(string $type = self::TYPE_BODY) |
||
34 | |||
35 | public function isHead(): bool |
||
39 | |||
40 | public function isBody(): bool |
||
44 | |||
45 | public function canContain(AbstractBlock $block): bool |
||
49 | |||
50 | public function acceptsLines(): bool |
||
54 | |||
55 | public function isCode(): bool |
||
59 | |||
60 | public function matchesNextLine(Cursor $cursor): bool |
||
64 | |||
65 | public function handleRemainingContents(ContextInterface $context, Cursor $cursor): void |
||
68 | |||
69 | /** |
||
70 | * @return AbstractBlock[] |
||
71 | */ |
||
72 | public function children(): array |
||
76 | } |
||
77 |