Generation   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getList() 0 6 1
1
<?php
2
3
namespace KuwashiroBuster\Constraints;
4
5
class Generation
6
{
7
    CONST GENERATION_1 = 1;
8
    CONST GENERATION_2 = 2;
9
    CONST GENERATION_3 = 3;
10
11
    /**
12
     * @return array
13
     */
14
    public static function getList()
15
    {
16
        return array(
17
            self::GENERATION_1,
18
            self::GENERATION_2,
19
            self::GENERATION_3
20
        );
21
    }
22
}