Diff   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 37
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 10
c 1
b 0
f 0
dl 0
loc 37
ccs 0
cts 10
cp 0
rs 10
wmc 4

4 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
A getNewData() 0 3 1
A getOldData() 0 3 1
A getInnerCircle() 0 3 1
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