PHP Класс League\CommonMark\Block\Element\Paragraph

Наследование: extends AbstractBlock, implements League\CommonMark\Block\Element\InlineContainer
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
acceptsLines ( ) : boolean Returns true if block type can accept lines of text
canContain ( AbstractBlock $block ) : boolean Returns true if this block can contain the given block as a child node
finalize ( League\CommonMark\ContextInterface $context, $endLineNumber )
handleRemainingContents ( League\CommonMark\ContextInterface $context, Cursor $cursor )
isCode ( ) : boolean Whether this is a code block
matchesNextLine ( Cursor $cursor )

Защищенные методы

Метод Описание
parseReferences ( League\CommonMark\ContextInterface $context, Cursor $cursor ) : boolean

Описание методов

acceptsLines() публичный метод

Returns true if block type can accept lines of text
public acceptsLines ( ) : boolean
Результат boolean

canContain() публичный метод

Returns true if this block can contain the given block as a child node
public canContain ( AbstractBlock $block ) : boolean
$block AbstractBlock
Результат boolean

finalize() публичный метод

public finalize ( League\CommonMark\ContextInterface $context, $endLineNumber )
$context League\CommonMark\ContextInterface

handleRemainingContents() публичный метод

public handleRemainingContents ( League\CommonMark\ContextInterface $context, Cursor $cursor )
$context League\CommonMark\ContextInterface
$cursor League\CommonMark\Cursor

isCode() публичный метод

Whether this is a code block
public isCode ( ) : boolean
Результат boolean

matchesNextLine() публичный метод

public matchesNextLine ( Cursor $cursor )
$cursor League\CommonMark\Cursor

parseReferences() защищенный метод

protected parseReferences ( League\CommonMark\ContextInterface $context, Cursor $cursor ) : boolean
$context League\CommonMark\ContextInterface
$cursor League\CommonMark\Cursor
Результат boolean