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

MenuTypes   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 15
c 0
b 0
f 0
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A all() 0 3 1
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
}