| 1 | <?php |
||
| 24 | class Table extends AbstractStringContainerBlock implements InlineContainerInterface |
||
| 25 | { |
||
| 26 | private $head; |
||
| 27 | private $body; |
||
| 28 | private $parser; |
||
| 29 | |||
| 30 | 69 | public function __construct(\Closure $parser) |
|
| 37 | |||
| 38 | public function canContain(AbstractBlock $block): bool |
||
| 42 | |||
| 43 | 66 | public function isCode(): bool |
|
| 47 | |||
| 48 | 69 | public function getHead(): TableSection |
|
| 52 | |||
| 53 | 66 | public function getBody(): TableSection |
|
| 57 | |||
| 58 | 66 | public function matchesNextLine(Cursor $cursor): bool |
|
| 62 | |||
| 63 | 69 | public function handleRemainingContents(ContextInterface $context, Cursor $cursor): void |
|
| 66 | } |
||
| 67 |