Total Complexity | 3 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
6 | class CategoryModel extends Model{ |
||
7 | |||
8 | /** |
||
9 | * get the list of categories and return all the data |
||
10 | * @return array the categories |
||
11 | * @throws \ReflectionException |
||
12 | */ |
||
13 | public function getCategories(){ |
||
15 | } |
||
16 | |||
17 | /** |
||
18 | * get all the menu elements from the database |
||
19 | * @return array the categories and access URL |
||
20 | * @throws \ReflectionException |
||
21 | */ |
||
22 | public function getMenu(): array |
||
33 | } |
||
34 | } |