Generation::getList()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 4
nc 1
nop 0
dl 0
loc 6
rs 10
c 0
b 0
f 0
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
}