Bubble::getTextStyle()   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 0
Metric Value
cc 1
eloc 1
c 0
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\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