Total Complexity | 6 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class FindsTitleForDocument |
||
11 | { |
||
12 | public static function get(string $slug = '', array $matter = [], string $markdown = ''): string |
||
20 | } |
||
21 | |||
22 | /** Attempt to find the title based on the first H1 tag. */ |
||
23 | protected static function findTitleTagInMarkdown(string $markdown): string|false |
||
36 |