PHP Class League\CommonMark\Block\Element\ThematicBreak

Inheritance: extends AbstractBlock
Datei anzeigen Open project: colinodell/commonmark-php

Public Methods

Method Description
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
isCode ( ) : boolean Whether this is a code block
matchesNextLine ( Cursor $cursor )

Method Details

acceptsLines() public method

Returns true if block type can accept lines of text
public acceptsLines ( ) : boolean
return boolean

canContain() public method

Returns true if this block can contain the given block as a child node
public canContain ( AbstractBlock $block ) : boolean
$block AbstractBlock
return boolean

isCode() public method

Whether this is a code block
public isCode ( ) : boolean
return boolean

matchesNextLine() public method

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