AdvancedChartOptions   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 9
dl 0
loc 25
ccs 5
cts 5
cp 1
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
A getVAxis() 0 3 1
1
<?php
2
3
namespace CMEN\GoogleChartsBundle\GoogleCharts\Options;
4
5
/**
6
 * @author Christophe Meneses
7
 */
8
class AdvancedChartOptions extends MediumChartOptions
9
{
10
    use AxisTitlesPositionTrait;
11
12
    use SeriesTrait;
13
14
    use ThemeTrait;
15
16
    use TitlePositionTrait;
17
18
    /**
19
     * @var VAxis
20
     */
21
    protected $vAxis;
22
23 11
    public function __construct()
24
    {
25 11
        parent::__construct();
26
27 11
        $this->vAxis = new VAxis();
28
    }
29
30 2
    public function getVAxis(): VAxis
31
    {
32 2
        return $this->vAxis;
33
    }
34
}
35