Diff::getNewData()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
ccs 0
cts 2
cp 0
crap 2
rs 10
1
<?php
2
3
namespace CMEN\GoogleChartsBundle\GoogleCharts\Options\Diff\DiffPieChart;
4
5
/**
6
 * @author Christophe Meneses
7
 */
8
class Diff
9
{
10
    /**
11
     * @var InnerCircle
12
     */
13
    protected $innerCircle;
14
15
    /**
16
     * @var NewData
17
     */
18
    protected $newData;
19
20
    /**
21
     * @var OldData
22
     */
23
    protected $oldData;
24
25
    public function __construct()
26
    {
27
        $this->innerCircle = new InnerCircle();
28
        $this->newData = new NewData();
29
        $this->oldData = new OldData();
30
    }
31
32
    public function getNewData(): NewData
33
    {
34
        return $this->newData;
35
    }
36
37
    public function getInnerCircle(): InnerCircle
38
    {
39
        return $this->innerCircle;
40
    }
41
42
    public function getOldData(): OldData
43
    {
44
        return $this->oldData;
45
    }
46
}
47