Passed
Push — master ( 284e72...816a06 )
by Iman
04:12
created

MenuTypes::all()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
nc 1
nop 0
dl 0
loc 3
c 0
b 0
f 0
cc 1
rs 10
1
<?php
2
3
namespace crocodicstudio\crudbooster\Modules\MenuModule;
4
5
class MenuTypes
6
{
7
    const Module = 'Module';
8
9
    const ControllerMethod = 'Controller & Method';
10
11
    const url = 'URL';
12
13
    const Statistic = 'Statistic';
14
15
    const route = 'Route';
16
17
    public static function all()
18
    {
19
        return ['Module', 'Controller & Method', 'URL', 'Statistic', 'Route'];
20
    }
21
}