Passed
Push — all-contributors/add-formikaio ( 169f6c )
by
unknown
08:10 queued 05:51
created

GanttConstraint::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 5
nc 1
nop 5
dl 0
loc 7
ccs 0
cts 7
cp 0
crap 2
rs 10
c 1
b 0
f 0
1
<?php
2
3
/**
4
 * JPGraph v4.0.3
5
 */
6
7
namespace Amenadiel\JpGraph\Util;
8
9
/**
10
 * @class GanttConstraint
11
 * // Just a structure to store all the values for a constraint
12
 */
13
class GanttConstraint
14
{
15
    public $iConstrainRow;
16
    public $iConstrainType;
17
    public $iConstrainColor;
18
    public $iConstrainArrowSize;
19
    public $iConstrainArrowType;
20
21
    /**
22
     * CONSTRUCTOR.
23
     *
24
     * @param mixed $aRow
25
     * @param mixed $aType
26
     * @param mixed $aColor
27
     * @param mixed $aArrowSize
28
     * @param mixed $aArrowType
29
     */
30
    public function __construct($aRow, $aType, $aColor, $aArrowSize, $aArrowType)
31
    {
32
        $this->iConstrainType      = $aType;
33
        $this->iConstrainRow       = $aRow;
34
        $this->iConstrainColor     = $aColor;
35
        $this->iConstrainArrowSize = $aArrowSize;
36
        $this->iConstrainArrowType = $aArrowType;
37
    }
38
}
39