Свойство | Type | Description | |
---|---|---|---|
$level | integer |
Méthode | Description | |
---|---|---|
__construct ( integer $level, string | string[] $contents ) | ||
acceptsLines ( ) : boolean | Returns true if block type can accept lines of text | |
canContain ( |
Returns true if this block can contain the given block as a child node | |
finalize ( League\CommonMark\ContextInterface $context, $endLineNumber ) | ||
getLevel ( ) : integer | ||
handleRemainingContents ( League\CommonMark\ContextInterface $context, |
||
isCode ( ) : boolean | Whether this is a code block | |
matchesNextLine ( |
public __construct ( integer $level, string | string[] $contents ) | ||
$level | integer | |
$contents | string | string[] |
public acceptsLines ( ) : boolean | ||
Résultat | boolean |
public canContain ( |
||
$block | ||
Résultat | boolean |
public finalize ( League\CommonMark\ContextInterface $context, $endLineNumber ) | ||
$context | League\CommonMark\ContextInterface |
public handleRemainingContents ( League\CommonMark\ContextInterface $context, |
||
$context | League\CommonMark\ContextInterface | |
$cursor |
public matchesNextLine ( |
||
$cursor |