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