Completed
Push — master ( 505b4c...62d9c0 )
by Seth
05:17 queued 03:12
created

Level::__construct()   A

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 3
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
1
<?php
2
3
namespace smtech\GradingAnalytics\HeatMap;
4
5
class Level
6
{
7
    public static $GREATER_THAN = 0;
8
    public static $GREATER_THAN_OR_EQUAL = 1;
9
    public static $LESS_THAN_OR_EQUAL = 2;
10
    public static $LESS_THAN = 3;
11
12
    public $level;
13
    public $value;
14
    public $comparison;
15
16
    public function __construct($level, $value, $comparison)
17
    {
18
        $this->level = $level;
19
        $this->value = $value;
20
        $this->comparison = $comparison;
21
    }
22
}
23