AdvancedAnimation   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 4
c 0
b 0
f 0
dl 0
loc 18
ccs 3
cts 3
cp 1
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A setStartup() 0 5 1
1
<?php
2
3
namespace CMEN\GoogleChartsBundle\GoogleCharts\Options;
4
5
/**
6
 * @author Christophe Meneses
7
 */
8
class AdvancedAnimation extends Animation
9
{
10
    /**
11
     * Determines if the chart will animate on the initial draw. If true, the chart will start at the baseline and
12
     * animate to its final state.
13
     *
14
     * @var bool
15
     */
16
    protected $startup;
17
18
    /**
19
     * @return $this
20
     */
21 2
    public function setStartup(bool $startup)
22
    {
23 2
        $this->startup = $startup;
24
25 2
        return $this;
26
    }
27
}
28