1 | <?php |
||
23 | class TableCell extends AbstractStringContainerBlock implements InlineContainerInterface |
||
24 | { |
||
25 | const TYPE_HEAD = 'th'; |
||
26 | const TYPE_BODY = 'td'; |
||
27 | |||
28 | const ALIGN_LEFT = 'left'; |
||
29 | const ALIGN_RIGHT = 'right'; |
||
30 | const ALIGN_CENTER = 'center'; |
||
31 | |||
32 | public $type = self::TYPE_BODY; |
||
33 | public $align; |
||
34 | |||
35 | public function __construct(string $string = '', string $type = self::TYPE_BODY, string $align = null) |
||
43 | |||
44 | public function canContain(AbstractBlock $block): bool |
||
48 | |||
49 | public function isCode(): bool |
||
53 | |||
54 | public function matchesNextLine(Cursor $cursor): bool |
||
58 | |||
59 | public function handleRemainingContents(ContextInterface $context, Cursor $cursor): void |
||
62 | } |
||
63 |