Copied!
CloneableFinalInstantiable
Methods
public __construct(array $columns, array $headerCells)
 
  • param array<int,string|null> $columns
  • param array<int,string> $headerCells
  • psalm-param array<int, TableCell::ALIGN_*|null> $columns
  • phpstan-param array<int, TableCell::ALIGN_*|null> $columns
public addLine(string $line) : void
public League\CommonMark\Parser\Block\AbstractBlockContinueParser::canContain(League\CommonMark\Node\Block\AbstractBlock $childBlock) : bool
public canHaveLazyContinuationLines() : bool
public League\CommonMark\Parser\Block\AbstractBlockContinueParser::closeBlock() : void
public getBlock() : League\CommonMark\Extension\Table\Table
public League\CommonMark\Parser\Block\AbstractBlockContinueParser::isContainer() : bool
public parseInlines(League\CommonMark\Parser\InlineParserEngineInterface $inlineParser) : void
public static split(string $line) : array
 
  • internal
  • return array<int,string>
public tryContinue(League\CommonMark\Parser\Cursor $cursor, League\CommonMark\Parser\Block\BlockContinueParserInterface $activeBlockParser) : ?League\CommonMark\Parser\Block\BlockContinue
Properties
private League\CommonMark\Extension\Table\Table $block
 
  • psalm-readonly
private League\CommonMark\Util\ArrayCollection $bodyLines
 
  • var \ArrayCollection<string>
  • psalm-readonly-allow-private-mutation
private array $columns
 
  • var array<int,string|null>
  • psalm-var array<int, TableCell::ALIGN_*|null>
  • phpstan-var array<int, TableCell::ALIGN_*|null>
  • psalm-readonly
private array $headerCells
 
  • var array<int,string>
  • psalm-readonly-allow-private-mutation
private bool $nextIsSeparatorLine = true
 
  • psalm-readonly-allow-private-mutation
Methods
private parseCell(string $cell, int $column, League\CommonMark\Parser\InlineParserEngineInterface $inlineParser) : League\CommonMark\Extension\Table\TableCell
Methods
public static split(string $line) : array
 
  • internal
  • return array<int,string>
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration