Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | declare(strict_types=1); |
4 | |
5 | namespace Hyde\Markdown\Contracts; |
6 | |
7 | use Hyde\Markdown\Models\Markdown; |
8 | |
9 | interface MarkdownDocumentContract |
10 | { |
11 | /** |
12 | * Get the front matter object, or a value from within. |
13 | * |
14 | * @return \Hyde\Markdown\Models\FrontMatter|mixed |
15 | */ |
16 | public function matter(string $key = null, mixed $default = null): mixed; |
17 | |
18 | /** |
19 | * Return the document's Markdown object. |
20 | */ |
21 | public function markdown(): Markdown; |
22 | } |