1 | <?php |
||
19 | class ThematicBreak extends AbstractBlock |
||
20 | { |
||
21 | /** |
||
22 | * Returns true if this block can contain the given block as a child node |
||
23 | * |
||
24 | * @param AbstractBlock $block |
||
25 | * |
||
26 | * @return bool |
||
27 | */ |
||
28 | public function canContain(AbstractBlock $block) |
||
32 | |||
33 | /** |
||
34 | * Returns true if block type can accept lines of text |
||
35 | * |
||
36 | * @return bool |
||
37 | */ |
||
38 | 78 | public function acceptsLines() |
|
42 | |||
43 | /** |
||
44 | * Whether this is a code block |
||
45 | * |
||
46 | * @return bool |
||
47 | */ |
||
48 | 78 | public function isCode() |
|
52 | |||
53 | 33 | public function matchesNextLine(Cursor $cursor) |
|
57 | } |
||
58 |