1 | <?php |
||
13 | trait HeadlineTrait |
||
14 | { |
||
15 | /** |
||
16 | * identify a line as a headline |
||
17 | * A headline always starts with a '=', with leading white spaces permitted. |
||
18 | */ |
||
19 | 23 | protected function identifyHeadline($line) |
|
27 | |||
28 | /** |
||
29 | * Consume lines for a headline |
||
30 | */ |
||
31 | 3 | protected function consumeHeadline($lines, $current) |
|
46 | |||
47 | /** |
||
48 | * Renders a headline |
||
49 | */ |
||
50 | 3 | protected function renderHeadline($block) |
|
55 | |||
56 | abstract protected function parseInline($text); |
||
57 | |||
58 | abstract protected function renderAbsy($absy); |
||
59 | } |
||
60 |