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 | namespace Hyde\Framework\Contracts; |
4 | |
5 | use Hyde\Framework\Models\DocumentationSidebarItem; |
6 | |
7 | interface DocumentationSidebarContract |
8 | { |
9 | /** |
10 | * Add a DocumentationSidebarItem to the sidebar collection. |
11 | */ |
12 | public function addItem(DocumentationSidebarItem $item): self; |
13 | |
14 | /** |
15 | * Sort the items in the collection by their priority. |
16 | */ |
17 | public function sortItems(): self; |
18 | |
19 | /** |
20 | * Get the collection instance. |
21 | */ |
22 | public function getCollection(): self; |
23 | } |