Bubble   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 6
c 0
b 0
f 0
dl 0
loc 19
ccs 0
cts 4
cp 0
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getTextStyle() 0 3 1
A __construct() 0 3 1
1
<?php
2
3
namespace CMEN\GoogleChartsBundle\GoogleCharts\Options\BubbleChart;
4
5
use CMEN\GoogleChartsBundle\GoogleCharts\Options\AdvancedTextStyle;
6
use CMEN\GoogleChartsBundle\GoogleCharts\Options\OpacityTrait;
7
use CMEN\GoogleChartsBundle\GoogleCharts\Options\StrokeTrait;
8
9
/**
10
 * @author Christophe Meneses
11
 */
12
class Bubble
13
{
14
    use OpacityTrait;
15
16
    use StrokeTrait;
17
18
    /**
19
     * @var AdvancedTextStyle
20
     */
21
    protected $textStyle;
22
23
    public function __construct()
24
    {
25
        $this->textStyle = new AdvancedTextStyle();
26
    }
27
28
    public function getTextStyle(): AdvancedTextStyle
29
    {
30
        return $this->textStyle;
31
    }
32
}
33